News:

AbanteCart v1.4.2 is released.

Main Menu

Embedding Multiple Products

Started by Norvician, April 15, 2025, 04:28:24 AM

Previous topic - Next topic

Norvician

Using Abantecart V1.3.4
I'm embedding Abantecart items into a static site in HTML5. Everything is working fine except for one issue. I have multiple products on a single page but there is a problem when trying to add more than one of any product to the cart. Whichever item is added to cart it always reads the quantity box for the first item instead of the quantity box for the item being added.
It can be reproduced here: https://www.test.stationroadbaseboards.co.uk/cart_baseboard_tools7.htm
Any suggestions would be appreciated.

Basara

Hello.
Thank you for reporting this issue. It has been confirmed. Please follow the bug on the official bug tracker to receive updates regarding its resolution
https://github.com/abantecart/abantecart-src/issues/1732

Norvician

Thanks Basara,
Will try embedding each product on separate pages & loading into i-frames. Not sure how well they would be picked up by the search engines though.

Norvician

Thanks Basara.
Now fixed.
Although out of the three suggested folders I don't have "‎public_html/extensions/novator/storefront/view/novator/template/embed/js_product.tpl". I modified "public_html/storefront/view/default/template/embed/js.js.tpl" &  "public_html/storefront/view/default/template/embed/js_product.tpl" but with no effect. I then found another copy of "js.js.tpl" in "extensions/bootstrap5/storefront/view/bootstrap5/template/embed" made the prescribed changes to that file as well which then solved the problem.
Thanks for your help & also please thank Abolabo.
That is my last known issue so can now get on with creating all the web pages so no Easter break for me :-(

Basara

Quote from: Norvician on April 15, 2025, 02:39:49 PM
Thanks Basara.
Now fixed.
Although out of the three suggested folders I don't have "‎public_html/extensions/novator/storefront/view/novator/template/embed/js_product.tpl". I modified "public_html/storefront/view/default/template/embed/js.js.tpl" &  "public_html/storefront/view/default/template/embed/js_product.tpl" but with no effect. I then found another copy of "js.js.tpl" in "extensions/bootstrap5/storefront/view/bootstrap5/template/embed" made the prescribed changes to that file as well which then solved the problem.
Thanks for your help & also please thank Abolabo.
That is my last known issue so can now get on with creating all the web pages so no Easter break for me :-(

Thank you for reporting the bug and confirming that the issue has been resolved.

Forum Rules Code of conduct
AbanteCart.com 2010 -