Skip to main content

How to remove the "add to favorites" button

More
12 years 11 months ago #126722 by Chameau
Hi all,
I'm new to the Hikashop world and got a tiny question for all you experts:
Is it possible to remove the "add to favorites" button in the product display section when the catalogue mode is activated?
Thx a bunch

Please Log in or Create an account to join the conversation.

More
12 years 11 months ago #126746 by Mohamed Thelji
Hi,
Sure ,you'll just have to set the "Display 'Add to wishlist' button" option to NO through "Hikashop->System->Configuration->'Display'".

Please Log in or Create an account to join the conversation.

More
12 years 11 months ago #126753 by Chameau
Thx for the reactivity!
It seems that this option is only available in commercial versions.
Is there a way to allow the favorite management to work without login in hikashop starter? or even delete it?
It seems a lot to take in for the user to 'only' manage a wishlist that he won't need anyway...(we're not a shop, just a company window)
Thx anyway for the hard work !

Please Log in or Create an account to join the conversation.

More
12 years 11 months ago #126781 by Xavier
Hi,

We have added some corrections in the code recently to remove the wishlist buttons in the starter edition of HikaShop.
This will be in a future release, actually what can be done is to change the value to "0" for the key "enable_wishlist" in the table "#__hikashop_config" via phpMyAdmin.

Or edit the layout to remove these buttons via the menu Display > Views.
The following user(s) said Thank You: Chameau

Please Log in or Create an account to join the conversation.

More
12 years 11 months ago #126796 by Chameau
All right,
Just FYI, it seems that the 'enable_wishlist' key doesn"t exist in the starter edition.
Anyway, I'll modify the layout directly.
Thx for your answer!

Please Log in or Create an account to join the conversation.

More
12 years 11 months ago #126809 by Jerome
Hi,

I have just update the HikaShop package with the latest fixes for the wishlist.
You can re-download HikaShop 2.2.2 if you want.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: Chameau

Please Log in or Create an account to join the conversation.

More
12 years 11 months ago #126816 by Chameau
Jerome,
I've DL and updated the package, nevertheless there is still no 'enable_wishlist' key in the DB nor possibilty to change the status of the 'add to wishlist' button in the configuration page.
I've cleared the cache just in case, but it seems that there is no difference for 'starter'.
Still, a big thank you for the reactivity!
KR

Please Log in or Create an account to join the conversation.

More
12 years 11 months ago #126824 by Jerome
Hi,

Do you have an override of the view "product | quantity" ?
We updated this view in order to add the check of the HikaShop version and not use the configuration value if HikaShop starter is used.
You can't modify the value in the HikaShop configuration because it's not a feature included in HikaShop starter. With the fixes, even if you have a value in the database, it won't be used (to avoid problems).

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Please Log in or Create an account to join the conversation.

More
12 years 11 months ago #126834 by Chameau
Hi again,

Understood. So, maybe I should not have installed the fixes ...? :)

About the "product | quantity" override, I could not say. I use the french version of Hikashop.
But I do have a "afficher le nombre de produit" ('display the number of product' in the text).
Is there any correlation between the two?

And, just to be sure: Using the starter version, do you see any possibilities to hide the wishlist from the product description pages ? Other than modifying the display one product at the time ? (there is 250 different page to change :X )

Anyway, the help you've provided so far is really appreciated!

KR,

Please Log in or Create an account to join the conversation.

More
12 years 11 months ago #126915 by Xavier
Hi,

You can add this key in database.
For the override, in the views listing via the menu Display > Views, do you see a dustbin next to the view "product / quantity" ?
If it is, there is an override, and that's why you don't have the latest modifications.

Thanks to save the content in an external file, and click on the dustbin, you will have the latest version, then just put back your modifications. You can else remove manually the part corresponding to the wishlists.
The code looks like:
Code:
echo '<div id="hikashop_add_wishlist">'; echo $this->cart->displayButton(JText::_('ADD_TO_WISHLIST'),'add',$this->params,$url,$wishlistAjax,'',@$this->row->product_max_per_order,1,'',false); echo '</div>';
The following user(s) said Thank You: Chameau

Please Log in or Create an account to join the conversation.

More
12 years 11 months ago #126936 by Chameau
Hello,
It worked perfectly!
A big thank you for your help and your great product :)
Cheers,

Please Log in or Create an account to join the conversation.

Time to create page: 0.260 seconds
Powered by Kunena Forum