[-] MO: Fix #PSCFV-5246 add and remove favorite products was not working using SSL
This commit is contained in:
1 parent
ac5e64e7a7
commit
a287069d66
1 file changed
+2
-2
@@ -23,8 +23,8 @@
|
|||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*}
|
*}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var favorite_products_url_add = '{$link->getModuleLink('favoriteproducts', 'actions', ['process' => 'add'], true)}';
|
var favorite_products_url_add = '{$link->getModuleLink('favoriteproducts', 'actions', ['process' => 'add'], false)}';
|
||||||
var favorite_products_url_remove = '{$link->getModuleLink('favoriteproducts', 'actions', ['process' => 'remove'], true)}';
|
var favorite_products_url_remove = '{$link->getModuleLink('favoriteproducts', 'actions', ['process' => 'remove'], false)}';
|
||||||
{if isset($smarty.get.id_product)}
|
{if isset($smarty.get.id_product)}
|
||||||
var favorite_products_id_product = '{$smarty.get.id_product|intval}';
|
var favorite_products_id_product = '{$smarty.get.id_product|intval}';
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
Reference in new issue
Block a user