djatwork Posted June 24, 2016 Share Posted June 24, 2016 Hi guys, i have this problem: in product page i added a custom buttom that is positioned under "Add to cart" button, it is the "View Cart" button and i made it using this code: <p style="display: inline-block;"> <a href="{$link->getPageLink('order', true)|escape:'html'}" title="{l s='Proceed to checkout'}" rel="nofollow"> <button class="btn button" style="background-color: #5EBE65"> <span>{l s='Proceed to checkout'}<i style="padding-left: 10px;" class="icon-chevron-right right"></i></span> </button> </a> </p> The problem is that when i click on the button it correctly redirect me to cart, but it add me the product to cart!you can test the problem in this product: http://artistaballoon.it/shop/it/palloncino-stampato-12/1684-prova.html ("Vai alla cassa" green button)Thank for your help!P.S. i don't know if is helpful to specify that i use this module Link to comment Share on other sites More sharing options...
m.gorny Posted July 1, 2016 Share Posted July 1, 2016 Hey, I would like to include that button in product page in way it's working now(adding product). Where should I put this code? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now