Second add to cart button

ThemeBurn SupportForumsOpenCart ThemesBurnEngineSecond add to cart button

This topic has been marked as not resolved.

Greetings, I would like to add a second add to cart button to my product page.
This button will be fixed in the button of the website, so it is always visible.

I basically want to create similar effect as this

This helps a lot in mobile version.

Is there a way to duplicate your add to cart or any idea how to achieve this?


July 27, 2018 at 6:56 am #64979


You need to change the product template a bit:

1) Open catalog/view/theme/BurnEngine/template/product/product.tpl

2) Find this code line:

$('#button-cart').on('click', function() {

3) Change it to:

$('#button-cart, .button-cart').on('click', function() {

4) You can now use the button-cart class to any button and it will trigger the “add to cart” feature.

ThemeBurn team

August 1, 2018 at 11:01 am #65022
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.