Arctic Fox, on Jan 1 2008, 09:37 PM, said:
Another idea I may work on is a PHP script that will remove the [Add to Cart] button if my supplier's inventory is < #.
Beautiful. Helped me out of a couple hours of bashing my head aimlessly before giving up, while trying to work out an update to the Hide Add To Cart contribution.
I've used that contribution on a couple stores to disable the product when books, DVDs, etc go out of print. I still want those products listed because most of them eventually will get a second printing run done so I don't want to lose my search engine status for those pages.
I want this now for my new shop which will be selling downloadable instructional videos. There are pre-requisite knowledges needed for the downloads, so I've bundled the products as a Get 1 Free ( http://www.oscommerce.com/community/contributions,4990
) item, but I do not want to sell that file. Just have it as a download. So I want customers to not be able to add it through the reviews, and product listings.
I prefer the Hide Add To Cart contribution, as I can see all the products that have their add to cart button listed in a couple clicks. Plus I can also quickly change it by removing the manufacturer listing. But I'm having a heck of a time changing the code over to work with my OSC2.2 RC2.
$25 Paypal to anyone who can update that contribution to work with OSC2.2 RC2 in the next few days. It isn't much, but I'm serious....... [/incentive].