Jump to content

A simple way to replace the "add to cart" button with an affiliate link


fxtosh

Recommended Posts

Hello, I am just trying to discover Prestashop and for the most part I am satisfied with the results, but I ran into a problem, I have not found a way to sell affiliate products? Suppose I can specify a link that replaces the Add to card button with for example View on amazon and that will redirect to amazon. 
I googled and found an expensive module, but it's my test shop and I don't want to pay for something that woocommerce can do out of the box. Maybe there are simpler ways to implement this?

Link to comment
Share on other sites

Just now, endriu107 said:

If you didn't need default add to cart button, turn it off and add this affiliate button as link in product description with same class as default button.

as i understand you are proposing to edit through code, i.e. permanently remove this button, but i am more interested in another type of product, as i want to both sell affiliate products and sell my own products. i.e. both should work

Link to comment
Share on other sites

13 minutes ago, endriu107 said:

No, in every single product you have option to disable order, and then add to cart button is not show up.

cool, thanks a lot. can i replace the disappeared "add to cart" button with my own button? or is this only possible by text?

Link to comment
Share on other sites

2 minutes ago, endriu107 said:

There is no option in default to replace button but in short description in <> code editor you can add

<a href="#" class="btn btn-primary add-to-cart">Button text</a>

and it should works fine.

cool, thanks!

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...