- Posts: 220
- Thank you received: 8
link in User Control Panel
12 years 5 months ago #153242
by Udo
link in User Control Panel was created by Udo
-- HikaShop version -- :2.3.0 Business
-- Joomla version -- : 1.5.26
Hi,
The User Control Panel has a wishlist link. After clicking you get a list of wishlists. There you can select a specific wishlist.
However the users of my shop only have 1 wishlist. The option to create extra wishlists is not displayed.
My question: Is it possible to change the wishlists link in the User Control Panel in a way that the customer is directed to the wishlist itself and not to a wishlist listing?
Thanks,
Udo
-- Joomla version -- : 1.5.26
Hi,
The User Control Panel has a wishlist link. After clicking you get a list of wishlists. There you can select a specific wishlist.
However the users of my shop only have 1 wishlist. The option to create extra wishlists is not displayed.
My question: Is it possible to change the wishlists link in the User Control Panel in a way that the customer is directed to the wishlist itself and not to a wishlist listing?
Thanks,
Udo
Please Log in or Create an account to join the conversation.
12 years 5 months ago #153255
by Xavier
Replied by Xavier on topic link in User Control Panel
Hi,
Currently you will have to edit the file "components/com_hikashop/views/user/view.html.php" in the function "cpanel()" replace:
By:
We just added a check on our end for that, thanks for your report.
Currently you will have to edit the file "components/com_hikashop/views/user/view.html.php" in the function "cpanel()" replace:
Code:
$buttons['wishlist'] = array('link'=>hikashop_completeLink('cart&task=showcarts&cart_type=wishlist'.$url_itemid),'level'=>0,'image'=>'wishlist','text'=>JText::_('WISHLISTS'),'description'=>'<ul><li>'.JText::_('DISPLAY_THE_WISHLISTS').'</li></ul>');
Code:
$buttons['wishlist'] = array('link'=>hikashop_completeLink('cart&task=showcart&cart_type=wishlist'.$url_itemid),'level'=>0,'image'=>'wishlist','text'=>JText::_('WISHLISTS'),'description'=>'<ul><li>'.JText::_('DISPLAY_THE_WISHLISTS').'</li></ul>');
We just added a check on our end for that, thanks for your report.
Please Log in or Create an account to join the conversation.
12 years 5 months ago #153423
by Udo
Replied by Udo on topic link in User Control Panel
Yeah, great support, thanks a lot!
One remark: the original code doesn't contain $buttons but $buttons[ ]
I have some other problem with the wishlist and will start a new topic about it.
regards,
Udo
One remark: the original code doesn't contain $buttons but $buttons[ ]
I have some other problem with the wishlist and will start a new topic about it.
regards,
Udo
The following user(s) said Thank You: Mohamed Thelji
Please Log in or Create an account to join the conversation.
Time to create page: 0.171 seconds