KatelynHuynh Posted January 22, 2012 Posted January 22, 2012 How do you show sold out / out of stock products but without the ability to add them to the shopping cart and instead show an inactive "sold out" button?
♥geoffreywalton Posted January 22, 2012 Posted January 22, 2012 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 ======>>>>>.
KatelynHuynh Posted January 23, 2012 Author Posted January 23, 2012 Thanks for the reply! I'm new to oscommerce and not good with coding. It would be great if you or someone can show me how to specifically modify the code.
♥geoffreywalton Posted January 23, 2012 Posted January 23, 2012 How To Install Add-Ons 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 ======>>>>>.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.