[Skip to main content](#vessel-content)

#   The wishlist quantity doesn't update

##

- **[info@lerenardquitrace.be](/forum/user/59029-info-lerenardquitrace-be "View info@lerenardquitrace.be's Profile")**
- [![info@lerenardquitrace.be's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/59029-info-lerenardquitrace-be "View info@lerenardquitrace.be's Profile") Topic Author
- [ Offline](/forum/user/59029-info-lerenardquitrace-be)

Less More

- Posts: 124
- Thank you received: 10
-
-

6 years 5 months ago [\#320016](#320016) by [info@lerenardquitrace.be](/forum/user/59029-info-lerenardquitrace-be "View info@lerenardquitrace.be's Profile")  *[The wishlist quantity doesn't update](/forum/41-wishlist/900032-the-wishlist-quantity-doesnt-update#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&#95;hikashop/classes/order&#95;product.php  The script looks at the value of the setting called &quot;update&#95;wishlist&#95;quantity&quot; (if the setting is not set the system considers its default value to be false). Except that nowhere else the update&#95;wishlist&#95;quantity field is displayed. We did a global search on all the installation. Would the field to set the value of update&#95;wishlist&#95;quantity have disappeared? Can you tell us where we can find it ?  thank you in advance for your help. Yours sincerely.")* was created by *[info@lerenardquitrace.be](/forum/user/59029-info-lerenardquitrace-be "View info@lerenardquitrace.be's Profile")*

-- 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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQxLXdpc2hsaXN0LzkwMDAzMi10aGUtd2lzaGxpc3QtcXVhbnRpdHktZG9lc250LXVwZGF0ZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86586
- Thank you received: 14325
-
-

6 years 5 months ago [\#320039](#320039) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[The wishlist quantity doesn't update](/forum/41-wishlist/900032-the-wishlist-quantity-doesnt-update#320039 "-- 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&#95;hikashop/classes/order&#95;product.php  The script looks at the value of the setting called &quot;update&#95;wishlist&#95;quantity&quot; (if the setting is not set the system considers its default value to be false). Except that nowhere else the update&#95;wishlist&#95;quantity field is displayed. We did a global search on all the installation. Would the field to set the value of update&#95;wishlist&#95;quantity have disappeared? Can you tell us where we can find it ?  thank you in advance for your help. Yours sincerely.")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQxLXdpc2hsaXN0LzkwMDAzMi10aGUtd2lzaGxpc3QtcXVhbnRpdHktZG9lc250LXVwZGF0ZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[info@lerenardquitrace.be](/forum/user/59029-info-lerenardquitrace-be "View info@lerenardquitrace.be's Profile")**
- [![info@lerenardquitrace.be's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/59029-info-lerenardquitrace-be "View info@lerenardquitrace.be's Profile") Topic Author
- [ Offline](/forum/user/59029-info-lerenardquitrace-be)

Less More

- Posts: 124
- Thank you received: 10
-
-

6 years 5 months ago [\#320092](#320092) by [info@lerenardquitrace.be](/forum/user/59029-info-lerenardquitrace-be "View info@lerenardquitrace.be's Profile")  Replied by *[info@lerenardquitrace.be](/forum/user/59029-info-lerenardquitrace-be "View info@lerenardquitrace.be's Profile")* on topic *[The wishlist quantity doesn't update](/forum/41-wishlist/900032-the-wishlist-quantity-doesnt-update#320092 "-- 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&#95;hikashop/classes/order&#95;product.php  The script looks at the value of the setting called &quot;update&#95;wishlist&#95;quantity&quot; (if the setting is not set the system considers its default value to be false). Except that nowhere else the update&#95;wishlist&#95;quantity field is displayed. We did a global search on all the installation. Would the field to set the value of update&#95;wishlist&#95;quantity have disappeared? Can you tell us where we can find it ?  thank you in advance for your help. Yours sincerely.")*

Thanks for the answer. It works
Best regards.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQxLXdpc2hsaXN0LzkwMDAzMi10aGUtd2lzaGxpc3QtcXVhbnRpdHktZG9lc250LXVwZGF0ZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.056 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
