You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this file I will suggest a modification to follow the same format like in the other templates which contain form keys for Add to {Cart, Wishlist, Compare} introduced in Magento 1.9.4.3.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
ORIGINAL POST FROM HERE #1423
In this file I will suggest a modification to follow the same format like in the other templates which contain form keys for Add to {Cart, Wishlist, Compare} introduced in Magento 1.9.4.3.
/app/design/frontend/base/default/template/catalog/product/view/addto.phtml
insert a new line in line 29:
<?php $_params = $this->escapeHtml(json_encode(array('form_key' => $this->getFormKey()))); ?>
this variable will be used in lines 37 and 54 as follows:
Beta Was this translation helpful? Give feedback.
All reactions