Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Disable "Add to Cart" on one item?


Tregonsee

Recommended Posts

I have been approached about carrying a few items another small seller. Because of differences such as profit and non-profit status, incompatible shipping cost models, etc, we have decided that the best way is for them to handle all the ordering and shipping, with us getting a commission on referrals. Essentially the sales item on our store would be an ad, with a clickable link to a dedicated page on their server to identify the source.

 

Is there a way to disable the "Add to Cart" button? From past experience, customers can manage to ignore even the clearest instructions. Or is there another approach to handling this sort of transaction?

 

Treg

Link to comment
Share on other sites

1. Stock quantity 0

2. Set up osC so can't add to cart if quantity 0 (affects all products)

3. Product description includes link to sales page

 

If number 2 is a problem (i.e., you allow backorders), you might have to do some custom coding on the product pages to suppress the "Add to Cart" button for a particular product.

Link to comment
Share on other sites

or put a condition round all the places the add to cart button code is displayed

 

If product id = x

display link or button linking to referral page

else

display add to cart button

endif

 

HTH

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...