Jump to content
Sign in to follow this  
JcMagpie

Support thread for JcM No Stock Header Tags-V1.0

Recommended Posts

V1.0 by JcMagpie based on idea by BrockleyJohn

A simple header_tag module to let you disable buy buttons for products with zero stock.

This is a standalone add-on and makes no changes to core files.

That’s it simply copy all files of the into relevant sections and go to admin modules /header tags and install.

Has been tested on Phoenix 1.0.2.2 only.

can be seen on thi test site

 

You can expand it function if required.

a) change class success to danger to make button red?

b) replace text from buy and add to cart, to no stock?

That's it enjoy.

image.png.b1f80da6e4053e41a5e8e6af43586692.png

 

image.png.eed4a6c6e36f6e63e7adc350c4a34efa.png

 


 

Share this post


Link to post
Share on other sites

Thank you very much Zahid @JcMagpiefor packing this magnificent code to addon and making it available to the whole oscommerce community.

This is the beauty of the community open code.


Running Old EDGE, setting up a new Frozen site with many nice addons available on the market and playing with Phoenix!

Community Oscommerce fan :heart:

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×