The wishlist quantity doesn't update

  • Posts: 112
  • Thank you received: 9
  • Hikashop Business
3 years 9 months ago #320016

-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.18

Hi,
While reading the documentation and browsing the web, we discovered that there was normally an option to remove the products from the wishlist after purchase.

We searched through all the settings screens and could not find this option.
While searching through the code we discovered that it does exist and it is called at line 176 of /administrator/components/com_hikashop/classes/order_product.php

The script looks at the value of the setting called "update_wishlist_quantity" (if the setting is not set the system considers its default value to be false). Except that nowhere else the update_wishlist_quantity field is displayed. We did a global search on all the installation. Would the field to set the value of update_wishlist_quantity have disappeared? Can you tell us where we can find it ?

thank you in advance for your help.
Yours sincerely.

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

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
3 years 9 months ago #320039

Hi,

This is deactivated by default and there is no setting to change it. However, in case someone might need it in the future, we've added that hidden setting in there. To activate it, add an entry with the namekey update_wishlist_quantity and the value 1 in the hikashop_config table in your database. That will activate that code.

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

  • Posts: 112
  • Thank you received: 9
  • Hikashop Business
3 years 9 months ago #320092

Thanks for the answer. It works
Best regards.

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

Time to create page: 0.057 seconds
Powered by Kunena Forum