Post by cmlstudios » Wed Dec 28, 2011 4:10 am

I'm using a cart inside Wordpress right now which is OK but not optimal. I want to switch over to Opencart for many obvious reasons. However, I need a feature that I can't seem to find either in the core or extensions.

My current cart lets me specify an affiliate link to purchase a product instead of "Add to Cart" -- so it is actually a link that says "Buy Now" and takes the customer out to that affiliate page (Amazon products, in my case).

Is there any way to implement this feature as an extension or otherwise?

Here's a link to a current page on my site in case my description above is too confusing: ... paperback/

Thank in advance for any help or advice. If this is an extension worth writing we would be willing to pay a small fee for it.





Wed Dec 28, 2011 4:02 am

Post by labeshops » Wed Dec 28, 2011 10:49 pm

You would need someone to do a mod for you as this is not the way opencart is designed to work.

Running Opencart v2.2 with multi-stores from which has links to all my stores.


User avatar
Expert Member


Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by straightlight » Wed Dec 28, 2011 11:15 pm

With the Amazon API, it is possible by modifying the product.tpl file by modifying the Add To Cart DIV block and to replace the content with the Buy Now button specifically by each product names that you may have on Amazon. However, you'd need an Amazon API account in order to accomplish this as it is not something really hard to implement. :)

The most generated errors being found on Opencart forum originates from contributed programming. The increased counters are caused by posted redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Legendary Member


Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by cmlstudios » Fri Dec 30, 2011 6:36 am

Thanks for the help guys. You got me to thinking about it and I successfully created a VQMod to replace the add to cart with my own link. Now just to style it nicely and implement.

Appreciate the suggestions!




Wed Dec 28, 2011 4:02 am

Post by danwestmoreland » Wed Mar 28, 2012 9:36 am

So, did you get this up and running? I would love to use that VQmod!


Mon Mar 19, 2012 3:33 am

Post by tingwing » Sat Jun 24, 2017 7:16 pm

could you share this vqmod or where I can buy it? thanks

my email
my wechat:bestshop24h
my free extension: ... estshop24h

Active Member


Tue Aug 02, 2016 9:01 pm
Who is online

Users browsing this forum: No registered users and 6 guests