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
https://myvega.com/products/vega-protein-and-greens
This helps a lot in mobile version.
Is there a way to duplicate your add to cart or any idea how to achieve this?
Thanks
|
|
Hi,
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.
BR,
ThemeBurn team
|
|