- Posts: 228
- Thank you received: 8
Add to cart products amount not working
9 years 7 months ago #262384
by theguy
Add to cart products amount not working was created by theguy
-- 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.
-- 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 or Create an account to join the conversation.
9 years 7 months ago #262440
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Add to cart products amount not working
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
Regards,
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
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
9 years 7 months ago #262518
by theguy
Replied by theguy on topic Add to cart products amount not working
It's weird as we didn't touch the views. I will double check it. Thank you very much.
Please Log in or Create an account to join the conversation.
Time to create page: 0.214 seconds