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

#   Issue with quantity select

##

- **[wernejo](/forum/user/38697-wernejo "View wernejo's Profile")**
- [![wernejo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/crossing_kangaroo.png)](/forum/user/38697-wernejo "View wernejo's Profile") Topic Author
- [ Offline](/forum/user/38697-wernejo)

Less More

- Posts: 43
- Thank you received: 0
-
-

10 years 1 week ago [\#255244](#255244) by [wernejo](/forum/user/38697-wernejo "View wernejo's Profile")  *[Issue with quantity select](/forum/27-checkout/887484-issue-with-quantity-select#255244 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6  Hi,  I'm currently having issues with changing the product quantity when using the checkout or viewing the cart. When I place a new amount into the quantity box, the total price doesn't change or update. Clicking on the little refresh icon next to the input box only refreshes the whole page and doesn't update the products like it does on the demo site.  I've tried changing the Quantity input method in the configuration settings and that hasn't helped either. Would this be a PHP or javascript issue? or something else?")* was created by *[wernejo](/forum/user/38697-wernejo "View wernejo's Profile")*

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.6

Hi,

I'm currently having issues with changing the product quantity when using the checkout or viewing the cart. When I place a new amount into the quantity box, the total price doesn't change or update. Clicking on the little refresh icon next to the input box only refreshes the whole page and doesn't update the products like it does on the demo site.

I've tried changing the Quantity input method in the configuration settings and that hasn't helped either. Would this be a PHP or javascript issue? or something else?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NzQ4NC1pc3N1ZS13aXRoLXF1YW50aXR5LXNlbGVjdD90bXBsPW1hcmtkb3du) 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: 86584
- Thank you received: 14325
-
-

10 years 1 week ago [\#255288](#255288) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Issue with quantity select](/forum/27-checkout/887484-issue-with-quantity-select#255288 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6  Hi,  I'm currently having issues with changing the product quantity when using the checkout or viewing the cart. When I place a new amount into the quantity box, the total price doesn't change or update. Clicking on the little refresh icon next to the input box only refreshes the whole page and doesn't update the products like it does on the demo site.  I've tried changing the Quantity input method in the configuration settings and that hasn't helped either. Would this be a PHP or javascript issue? or something else?")*

Hi,

The problem is that you have twice the quantity input fields on the page:
[ take.ms/rF7FX](http://take.ms/rF7FX)
And because of that, when you click on refresh, it submits the checkout form with both input fields:
[ take.ms/ATuLP](http://take.ms/ATuLP)
And as the hidden one is after the one which is displayed, it overwrites its value.

There is however no such dl/dt second cart display in HikaShop by default. So either this has been added on your end, or it has been added by your template provider, probably in the file "cart" of the view "checkout".

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

- **[wernejo](/forum/user/38697-wernejo "View wernejo's Profile")**
- [![wernejo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/crossing_kangaroo.png)](/forum/user/38697-wernejo "View wernejo's Profile") Topic Author
- [ Offline](/forum/user/38697-wernejo)

Less More

- Posts: 43
- Thank you received: 0
-
-

10 years 1 week ago [\#255332](#255332) by [wernejo](/forum/user/38697-wernejo "View wernejo's Profile")  Replied by *[wernejo](/forum/user/38697-wernejo "View wernejo's Profile")* on topic *[Issue with quantity select](/forum/27-checkout/887484-issue-with-quantity-select#255332 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6  Hi,  I'm currently having issues with changing the product quantity when using the checkout or viewing the cart. When I place a new amount into the quantity box, the total price doesn't change or update. Clicking on the little refresh icon next to the input box only refreshes the whole page and doesn't update the products like it does on the demo site.  I've tried changing the Quantity input method in the configuration settings and that hasn't helped either. Would this be a PHP or javascript issue? or something else?")*

Thanks for finding that hidden bit of code. I've had a good look all over the website and can't find where the code is coming from. I've even downloaded a full copy of all the files on the server and manually searched through all the code in Dreamweaver but nothing. Where could this code be coming from? I've checked all of my overrides and template files with no luck.

Have you seen anything like this before or know where I should look?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NzQ4NC1pc3N1ZS13aXRoLXF1YW50aXR5LXNlbGVjdD90bXBsPW1hcmtkb3du) 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: 86584
- Thank you received: 14325
-
-

10 years 1 week ago [\#255380](#255380) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Issue with quantity select](/forum/27-checkout/887484-issue-with-quantity-select#255380 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6  Hi,  I'm currently having issues with changing the product quantity when using the checkout or viewing the cart. When I place a new amount into the quantity box, the total price doesn't change or update. Clicking on the little refresh icon next to the input box only refreshes the whole page and doesn't update the products like it does on the demo site.  I've tried changing the Quantity input method in the configuration settings and that hasn't helped either. Would this be a PHP or javascript issue? or something else?")*

Hi,

As I said, it's probably coming from the file "cart" of the view "checkout".
The original file is located in components/com_hikashop/views/checkout/tmpl/cart.php but if the view file has been overridden, then it's coming from the file templates/YOUR_TEMPLATE/html/com_hikashop/checkout/cart.php

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

- **[wernejo](/forum/user/38697-wernejo "View wernejo's Profile")**
- [![wernejo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/crossing_kangaroo.png)](/forum/user/38697-wernejo "View wernejo's Profile") Topic Author
- [ Offline](/forum/user/38697-wernejo)

Less More

- Posts: 43
- Thank you received: 0
-
-

10 years 1 week ago [\#255442](#255442) by [wernejo](/forum/user/38697-wernejo "View wernejo's Profile")  Replied by *[wernejo](/forum/user/38697-wernejo "View wernejo's Profile")* on topic *[Issue with quantity select](/forum/27-checkout/887484-issue-with-quantity-select#255442 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6  Hi,  I'm currently having issues with changing the product quantity when using the checkout or viewing the cart. When I place a new amount into the quantity box, the total price doesn't change or update. Clicking on the little refresh icon next to the input box only refreshes the whole page and doesn't update the products like it does on the demo site.  I've tried changing the Quantity input method in the configuration settings and that hasn't helped either. Would this be a PHP or javascript issue? or something else?")*

> nicolas wrote: As I said, it's probably coming from the file "cart" of the view "checkout".
> The original file is located in components/com\_hikashop/views/checkout/tmpl/cart.php but if the view file has been overridden, then it's coming from the file templates/YOUR\_TEMPLATE/html/com\_hikashop/checkout/cart.php

I don't have any overrides for that file and checked the original but couldn't find anything out of place. The only overrides I have are for the category listing_div &amp; lisitng_title, and product listing_div.

I've also uploaded fresh copies of the core HikaShop files to the server over the top of the existing files to ensure that they are all the default core files and it still hasn't changed a thing. I've checked the database, the modules, everything and I can't find where this code is coming from.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NzQ4NC1pc3N1ZS13aXRoLXF1YW50aXR5LXNlbGVjdD90bXBsPW1hcmtkb3du) 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: 86584
- Thank you received: 14325
-
-

10 years 1 week ago [\#255460](#255460) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Issue with quantity select](/forum/27-checkout/887484-issue-with-quantity-select#255460 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6  Hi,  I'm currently having issues with changing the product quantity when using the checkout or viewing the cart. When I place a new amount into the quantity box, the total price doesn't change or update. Clicking on the little refresh icon next to the input box only refreshes the whole page and doesn't update the products like it does on the demo site.  I've tried changing the Quantity input method in the configuration settings and that hasn't helped either. Would this be a PHP or javascript issue? or something else?")*

Hi,

Try with the default template of Joomla. If you have the same problem, then it comes from a plugin (probably from the group "system").
If you don't have the same problem, then it comes from the template (probably a view override).
That's the first thing to do if you don't know where that comes from.

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

- **[wernejo](/forum/user/38697-wernejo "View wernejo's Profile")**
- [![wernejo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/crossing_kangaroo.png)](/forum/user/38697-wernejo "View wernejo's Profile") Topic Author
- [ Offline](/forum/user/38697-wernejo)

Less More

- Posts: 43
- Thank you received: 0
-
-

10 years 5 days ago [\#255714](#255714) by [wernejo](/forum/user/38697-wernejo "View wernejo's Profile")  Replied by *[wernejo](/forum/user/38697-wernejo "View wernejo's Profile")* on topic *[Issue with quantity select](/forum/27-checkout/887484-issue-with-quantity-select#255714 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6  Hi,  I'm currently having issues with changing the product quantity when using the checkout or viewing the cart. When I place a new amount into the quantity box, the total price doesn't change or update. Clicking on the little refresh icon next to the input box only refreshes the whole page and doesn't update the products like it does on the demo site.  I've tried changing the Quantity input method in the configuration settings and that hasn't helped either. Would this be a PHP or javascript issue? or something else?")*

I changed the template like you said and everything started working again. So obviously it has to be something to do with the template that I'm using but I can't figure out what the cause is. I deleted the template override and tried HikaShop again but still no luck. Aside from the HTML directory is there any other locations in the template folder that store files for HikaShop?

If the template override isn't the issue then what could be causing this? Could this be caused by a javascript issue?

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

10 years 5 days ago [\#255742](#255742) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Issue with quantity select](/forum/27-checkout/887484-issue-with-quantity-select#255742 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6  Hi,  I'm currently having issues with changing the product quantity when using the checkout or viewing the cart. When I place a new amount into the quantity box, the total price doesn't change or update. Clicking on the little refresh icon next to the input box only refreshes the whole page and doesn't update the products like it does on the demo site.  I've tried changing the Quantity input method in the configuration settings and that hasn't helped either. Would this be a PHP or javascript issue? or something else?")*

Hello,

If you're still having some issues even if you have removed every template override, then the issue can be coming from multiple things like javascript issue, some module / plugins only used by your template..

The following user(s) said Thank You: [wernejo](/forum/user/38697-wernejo "View wernejo's Profile")

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

- **[wernejo](/forum/user/38697-wernejo "View wernejo's Profile")**
- [![wernejo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/crossing_kangaroo.png)](/forum/user/38697-wernejo "View wernejo's Profile") Topic Author
- [ Offline](/forum/user/38697-wernejo)

Less More

- Posts: 43
- Thank you received: 0
-
-

10 years 3 days ago [\#255877](#255877) by [wernejo](/forum/user/38697-wernejo "View wernejo's Profile")  Replied by *[wernejo](/forum/user/38697-wernejo "View wernejo's Profile")* on topic *[Issue with quantity select](/forum/27-checkout/887484-issue-with-quantity-select#255877 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6  Hi,  I'm currently having issues with changing the product quantity when using the checkout or viewing the cart. When I place a new amount into the quantity box, the total price doesn't change or update. Clicking on the little refresh icon next to the input box only refreshes the whole page and doesn't update the products like it does on the demo site.  I've tried changing the Quantity input method in the configuration settings and that hasn't helped either. Would this be a PHP or javascript issue? or something else?")*

Thanks for your help.

I found a bit of javascript in one of the template files that was creating the hidden DL tables.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NzQ4NC1pc3N1ZS13aXRoLXF1YW50aXR5LXNlbGVjdD90bXBsPW1hcmtkb3du) 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.061 seconds

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