Jump to content

View Cart button redirect me to cart but add quantities of product


djatwork

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...