Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do you show sold out products but w/o the ability to add to shopping cart?


KatelynHuynh

Recommended Posts

In product_info.php and /includes/modules/produduct list.php you would need to make the displaying of the buy now button conditional on the stock level.

 

if (stok level > 0) {

display button

}

 

See w3schools.co for more info on writing php

 

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

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...