Author Topic: Embedding Multiple Products  (Read 2808 times)

Offline Norvician

  • Newbie
  • *
  • Posts: 17
  • Karma: +3/-0
    • View Profile
Embedding Multiple Products
« on: April 15, 2025, 04:28:24 AM »
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.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 6102
  • Karma: +284/-2
    • View Profile
Re: Embedding Multiple Products
« Reply #1 on: April 15, 2025, 04:45:31 AM »
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

Offline Norvician

  • Newbie
  • *
  • Posts: 17
  • Karma: +3/-0
    • View Profile
Re: Embedding Multiple Products
« Reply #2 on: April 15, 2025, 05:11:25 AM »
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.

Offline Norvician

  • Newbie
  • *
  • Posts: 17
  • Karma: +3/-0
    • View Profile
Re: Embedding Multiple Products
« Reply #3 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 :-(

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 6102
  • Karma: +284/-2
    • View Profile
Re: Embedding Multiple Products
« Reply #4 on: April 16, 2025, 01:14:47 AM »
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.

 

Powered by SMFPacks Social Login Mod