Contributions
Hide "Add to Cart" and disable "Buy Now" for manufacturer v1.0
Hide Add to Cart and disable Buy Now for manufacturer v1.0 by Raj Siva-Rajah (Menathor)
***Based on Tim Elam (aka Bigredman74)'s Easy Call for Price***
DESCRIPTION: For a standard osCommerce 2.2 install. Allows you to hide "add to cart" and prevent "buy now" from adding to cart for products
under a chosen manufacturer.
REASON: There were products I wanted to display in my shop which aren't being sold in my shop - i.e. I wanted them in my catalogue as "ads" with links
in the product description to external purchase sites. Obviously, I needed to prevent the item from being added to the cart. I used Tim Elam's Easy
Call for Price (http://www.oscommerce.com/community/contributions,3211) as a starting point and modified the code to use a chosen "manufacturers_id"
rather than price. I also changed the code so the "Buy Now" buttons weren't hidden, but rather took the user to the product description instead of
adding it to the basket.
CREDITS: Tim Elam (aka Bigredman74) and everyone who contributed to the "Easy Call for Price" and “Call for Pricing / Negotiable Pricing” contributions.
LICENSE: All work is freely available under the GNU General Public License as per http://forums.oscommerce.com/index.php?act=boardrules. A copy of the GNU General Public License Version 2, June 1991 is included with this package as LICENSE.TXT.
| 31 Oct 2008 |
Fixed bug where buy now in all categories stopped working
Note: Contributions are used at own risk.
