This entry shows how to add new clickable field to admin catalog list.
Our new field name: newfield
Our new field label: New field
Continue reading [PrestaShop][1.6] Add clickable field on admin catalog list
Our new field name: newfield
Our new field label: New field
Continue reading [PrestaShop][1.6] Add clickable field on admin catalog list
Updating address bar with new URL without hash or reloading the page example:
1 2 3 4 5 6 7 8 |
function processAjaxData(response, urlPath) { document.getElementById("content").innerHTML = response.html; document.title = response.pageTitle; window.history.pushState({"html":response.html,"pageTitle":response.pageTitle},"", urlPath); } |
You can then use window.onpopstate
to detect the back/forward button navigation:
1 2 3 4 5 6 7 8 9 10 |
window.onpopstate = function(e) { if(e.state) { document.getElementById("content").innerHTML = e.state.html; document.title = e.state.pageTitle; } }; |
Target: Edit the topics of e-mail with informations about order in PrestaShop 1.6
File: /classes/order/OrderHistory.php
Class: OrderHistory
Method: addWithemail()
Variable: $topic
Info: This variable contains topic of the e-mail.
Example: Continue reading [PrestaShop][1.6] Edit the topics of e-mail with informations about order