Magento Forum

   
How do i change the Add to cart button in links
 
adrianplacinta
Jr. Member
 
Total Posts:  1
Joined:  2013-01-08
 

Hello,

I am developing a webstore. It has it`s own products in the wharehouse, but also i have to make people to command from different stores of the same company, This is why i want to know if i can change the buy bow/add to cart button not to take the customer to the shopping cart but to send him to the affiliate site.

Thank you.

 
Magento Community Magento Community
Magento Community
Magento Community
 
icemanarh
Jr. Member
 
Total Posts:  3
Joined:  2011-06-28
 

I actually had to do this for a client recently.  Just navigate to /template/catalog/product/view/addtocart.phtml Change the

onclick="productAddToCartForm.submit(this)"
to the website it needs to go to.  This works on all products though.  Make sure you copy this file to your specific template category so if an update happens it won’t be overwritten!

_____________________________________________________________________

http://www.ftldist.com , http://www.mariestarkart.com

adrianplacinta - 09 January 2013 02:09 AM

Hello,

I am developing a webstore. It has it`s own products in the wharehouse, but also i have to make people to command from different stores of the same company, This is why i want to know if i can change the buy bow/add to cart button not to take the customer to the shopping cart but to send him to the affiliate site.

Thank you.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top