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

#   Add to cart products amount not working

##

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

Less More

- Posts: 228
- Thank you received: 8
-
-

9 years 9 months ago [\#262384](#262384) by [theguy](/forum/user/32584-theguy "View theguy's Profile")  *[Add to cart products amount not working](/forum/3-bug-report/888852-add-to-cart-products-amount-not-working#262384 "-- url of the page with the problem -- : theguy4u.co.il/shakedtavor/ -- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6  Hi,  When setting an amount to a product (either by entering a number or by using the + and - buttons) the amount is always set to 1.  Please check.  Guy.")* was created by *[theguy](/forum/user/32584-theguy "View theguy's Profile")*

-- url of the page with the problem -- : theguy4u.co.il/shakedtavor/
-- HikaShop version -- : 3.0.0
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.6

Hi,

When setting an amount to a product (either by entering a number or by using the + and - buttons) the amount is always set to 1.

Please check.

Guy.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

9 years 9 months ago [\#262440](#262440) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Add to cart products amount not working](/forum/3-bug-report/888852-add-to-cart-products-amount-not-working#262440 "-- url of the page with the problem -- : theguy4u.co.il/shakedtavor/ -- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6  Hi,  When setting an amount to a product (either by entering a number or by using the + and - buttons) the amount is always set to 1.  Please check.  Guy.")*

Hi,

So you have some view overrides ?
It look like there is a naming problem in your views.

While the quantity input is "hikashop_product_quantity_field_2", the javascript in the add to cart button is targeting "hikashop_product_quantity_field_1" ; so the script is not able to read the quantity entered in the input :
[ pasteboard.co/yFguRFKAB.png](http://pasteboard.co/yFguRFKAB.png)

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 228
- Thank you received: 8
-
-

9 years 9 months ago [\#262518](#262518) by [theguy](/forum/user/32584-theguy "View theguy's Profile")  Replied by *[theguy](/forum/user/32584-theguy "View theguy's Profile")* on topic *[Add to cart products amount not working](/forum/3-bug-report/888852-add-to-cart-products-amount-not-working#262518 "-- url of the page with the problem -- : theguy4u.co.il/shakedtavor/ -- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6  Hi,  When setting an amount to a product (either by entering a number or by using the + and - buttons) the amount is always set to 1.  Please check.  Guy.")*

It's weird as we didn't touch the views. I will double check it. Thank you very much.

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

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