Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to forward buyers to another site by affiliate link on product_info.php?


blase40

Recommended Posts

Posted

I have a site that offers hundreds of products for sale. There are a handful of products that are very popular to my niche that I am not able to sell, however I have the ability to earn 30% of the sale by forwarding them to the manufacturers site by affiliate link.

 

How can I add the product to my catalog, and have it appear the same as all other products I offer, but then once the customer clicks the buy now button, have it direct the buyer to the manufacturers website by an affiliate link rather than having the product added to the shopping cart?

 

Thanks!

Posted

If I were a customer and clicked the "Buy Now" button, and it took me to a totally different web site without warning, I'd probably think it was some kind of scam and just forget the whole thing.

 

If this is possible, add a link to the site in the product description, and some short text saying that you don't sell that item, but if they click the link they can go to Website B to buy it.

 

That way they're prepared for what they will see on the screen.

 

If you use the target="_blank" attribute in the link, it will open in a new window and they won't lose anything they're buying from you. When they're done a site B, they just close that window, and your site/cart contents are right where they left it.

;)

 

Code similar to this:

 

<a target="_blank" title="Click here to buy at site B" href="http://www.websiteb.com">Click here to buy at site B.</a>

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

I will definitely put in a line about them leaving the site. With this particular product, the only place it can be purchased legally is off the official website. Is there a way I can still add these products to the catalog, but disable the "buy now" function that adds them to the shopping cart?

 

If I were a customer and clicked the "Buy Now" button, and it took me to a totally different web site without warning, I'd probably think it was some kind of scam and just forget the whole thing.

 

If this is possible, add a link to the site in the product description, and some short text saying that you don't sell that item, but if they click the link they can go to Website B to buy it.

 

That way they're prepared for what they will see on the screen.

 

If you use the target="_blank" attribute in the link, it will open in a new window and they won't lose anything they're buying from you. When they're done a site B, they just close that window, and your site/cart contents are right where they left it.

;)

 

Code similar to this:

 

<a target="_blank" title="Click here to buy at site B" href="http://www.websiteb.com">Click here to buy at site B.</a>

Posted

Put them in the catalog, and have a price of ZERO.

 

Then it doesn't matter if they're in the cart or not.

 

Would that work?

:unsure:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

It would work, however I need the purchase price displayed to still be the actual purchase price of the item.

 

 

Put them in the catalog, and have a price of ZERO.

 

Then it doesn't matter if they're in the cart or not.

 

Would that work?

:unsure:

Posted

Put the actual purchase price as text in the description, and leave your price at ZERO.

 

You have to have your price a ZERO because you're not making money from it in your cart.

 

Unless someone has a better idea.

:blush:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

  • 4 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...