- Posts: 220
- Thank you received: 8
selecting Itemid for Show the wishlist button
11 years 9 months ago #190514
by Udo
selecting Itemid for Show the wishlist button was created by Udo
-- HikaShop version -- : 2.3.3
-- Joomla version -- : 2.5.27
Hi,
In the wishlist module one can select an Itemid redirect for the button 'Show the wishlist'.
Alas in my shop this seems to have no effect.
The button always directs to an URL which contains the Itemid of the main shop menu (Categories overview).. I have tried several Itemids but without any effect..
What could be the cause of this error?
Is it possible that some parameter in the configuration is overriding the redirect to the correct Itemid?
Thanks,
Udo
-- Joomla version -- : 2.5.27
Hi,
In the wishlist module one can select an Itemid redirect for the button 'Show the wishlist'.
Alas in my shop this seems to have no effect.
The button always directs to an URL which contains the Itemid of the main shop menu (Categories overview).. I have tried several Itemids but without any effect..
What could be the cause of this error?
Is it possible that some parameter in the configuration is overriding the redirect to the correct Itemid?
Thanks,
Udo
Please Log in or Create an account to join the conversation.
11 years 9 months ago #190570
by Xavier
Replied by Xavier on topic selecting Itemid for Show the wishlist button
Hi,
Thanks for the report, there was indeed a missing check in the code.
Please edit the view "product / cart" and add:
Before:
Thanks for the report, there was indeed a missing check in the code.
Please edit the view "product / cart" and add:
Code:
$set = $this->params->get('cart_itemid',false);
if(!$set)
Code:
$set = $menusClass->loadAMenuItemId('cart','showcart',$this->params->get('cart_itemid', 0));
if(!$set)
$set = $menusClass->loadAMenuItemId('cart','showcart');
if(!$set)
$set = $menusClass->loadAMenuItemId('','');
if($set)
$cart_itemid='&Itemid='.$set;
The following user(s) said Thank You: Udo
Please Log in or Create an account to join the conversation.
11 years 9 months ago #190653
by Udo
Replied by Udo on topic selecting Itemid for Show the wishlist button
Great, it works!
Thanks a lot.
Udo
Thanks a lot.
Udo
Please Log in or Create an account to join the conversation.
Time to create page: 0.069 seconds