Add to cart products amount not working

  • Posts: 228
  • Thank you received: 8
7 years 9 months ago #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.

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 9 months ago #262440

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,


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.

  • Posts: 228
  • Thank you received: 8
7 years 9 months ago #262518

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.053 seconds
Powered by Kunena Forum