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

#   Refresh Cart

##

- **[Impact1490](/forum/user/44392-impact1490 "View Impact1490's Profile")**
- [![Impact1490's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/44392-impact1490 "View Impact1490's Profile") Topic Author
- [ Offline](/forum/user/44392-impact1490)

Less More

- Posts: 34
- Thank you received: 2
-
-

7 years 1 week ago [\#313088](#313088) by [Impact1490](/forum/user/44392-impact1490 "View Impact1490's Profile")  *[Refresh Cart](/forum/35-orders-management/898680-refresh-cart#313088 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.19 -- Browser(s) name and version -- : Chrome.Version 78.0.3904.97  Hello,  When I try to change the number of items in the cart display, nothing change. If I click on the refresh button or on the save button, the system say that he save the change but I dond't see the change.  I do something wrong but i don't see what.  Thanks in advance.  Best regards.  Delavie Frédéric")* was created by *[Impact1490](/forum/user/44392-impact1490 "View Impact1490's Profile")*

-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.13
-- PHP version -- : 7.2.19
-- Browser(s) name and version -- : Chrome.Version 78.0.3904.97

Hello,

When I try to change the number of items in the cart display, nothing change.
If I click on the refresh button or on the save button, the system say that he save the change but I dond't see the change.

I do something wrong but i don't see what.

Thanks in advance.

Best regards.

Delavie Frédéric

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5ODY4MC1yZWZyZXNoLWNhcnQ/dG1wbD1tYXJrZG93bg==) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

7 years 1 week ago [\#313096](#313096) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Refresh Cart](/forum/35-orders-management/898680-refresh-cart#313096 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.19 -- Browser(s) name and version -- : Chrome.Version 78.0.3904.97  Hello,  When I try to change the number of items in the cart display, nothing change. If I click on the refresh button or on the save button, the system say that he save the change but I dond't see the change.  I do something wrong but i don't see what.  Thanks in advance.  Best regards.  Delavie Frédéric")*

Hi,

The issue comes from your template.
It has some javascript code which automatically generate "responsive" display for tables:
[ monosnap.com/file/eopXz8tOKzjEYPd317FkQe4JI4YYxz](https://monosnap.com/file/eopXz8tOKzjEYPd317FkQe4JI4YYxz)
It does that by duplicating the content in the table into dl/dt/dd tags instead of table/tr/td tags.
Because of that, the quantity input fields are duplicated too.
Then, when you modify the quantity in the input field and save the cart, you only changed the first input, but both input are sent to the server:
[ monosnap.com/file/IKtfHPGveHfSqmfQ7H9ErntOHc2zMJ](https://monosnap.com/file/IKtfHPGveHfSqmfQ7H9ErntOHc2zMJ)
And in such case, PHP overwrite the first input value with the second one and thus the information you entered in the input is lost.
This apparently comes from this code:
[ monosnap.com/file/tmleevRv6x0AE4OwTsfOwNWOXT8TAB](https://monosnap.com/file/tmleevRv6x0AE4OwTsfOwNWOXT8TAB)
Note that HikaShop tables don't need such javascript to be responsive. We have our own system to have the tables responsive.

Looking at the javascript code from your template, you could try adding the class "kblocktable" to the "table" tag in the file "show" of the view "cart" via the menu Display&gt;Views. That should prevent the template from doing this.
However, you'll have similar issue with tables on the checkout, and other places of the frontend where HikaShop use tables.
So it might be better to actually remove the javascript from the /templates/theme3449/js/scripts.js file.
The best I think would be to report the issue to your template provider and see what they propose as a solution knowing all that I've written above.

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

- **[Impact1490](/forum/user/44392-impact1490 "View Impact1490's Profile")**
- [![Impact1490's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/44392-impact1490 "View Impact1490's Profile") Topic Author
- [ Offline](/forum/user/44392-impact1490)

Less More

- Posts: 34
- Thank you received: 2
-
-

7 years 1 week ago [\#313122](#313122) by [Impact1490](/forum/user/44392-impact1490 "View Impact1490's Profile")  Replied by *[Impact1490](/forum/user/44392-impact1490 "View Impact1490's Profile")* on topic *[Refresh Cart](/forum/35-orders-management/898680-refresh-cart#313122 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.19 -- Browser(s) name and version -- : Chrome.Version 78.0.3904.97  Hello,  When I try to change the number of items in the cart display, nothing change. If I click on the refresh button or on the save button, the system say that he save the change but I dond't see the change.  I do something wrong but i don't see what.  Thanks in advance.  Best regards.  Delavie Frédéric")*

YOU ARE THE BEST.

Thanks a lot.

Great Job, great team.

Best regards.

Delavie Frédéric

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5ODY4MC1yZWZyZXNoLWNhcnQ/dG1wbD1tYXJrZG93bg==) 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)
