- Posts: 124
- Thank you received: 10
The wishlist quantity doesn't update
- info@lerenardquitrace.be
-
Topic Author
- Offline
Less
More
6 years 3 months ago #320016
by info@lerenardquitrace.be
The wishlist quantity doesn't update was created by info@lerenardquitrace.be
-- 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.
-- 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.
6 years 3 months ago #320039
by nicolas
Replied by nicolas on topic The wishlist quantity doesn't update
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.
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.
- info@lerenardquitrace.be
-
Topic Author
- Offline
Less
More
- Posts: 124
- Thank you received: 10
6 years 3 months ago #320092
by info@lerenardquitrace.be
Replied by info@lerenardquitrace.be on topic The wishlist quantity doesn't update
Thanks for the answer. It works
Best regards.
Best regards.
Please Log in or Create an account to join the conversation.
Time to create page: 0.200 seconds