bizjaved Posted January 16, 2018 Share Posted January 16, 2018 (edited) I use OSCommerce 2.3.4 I face the following problems: 1. Out of stock item is displayed as "Availability: In stock" 2. The 'add to shopping cart' link appears next to out of stock item I use the following configurations: Title Value Action Check stock level true Subtract stock true Allow Checkout false Mark product out of stock Out of stock Stock Re-order level 1 I tried re-order level = 1 too but it didn't work. Edited January 16, 2018 by burt Remove ADMIN URL!!! Quote Link to comment Share on other sites More sharing options...
burt Posted January 16, 2018 Share Posted January 16, 2018 I have removed your Admin URL (which you managed to post 5 times!). Stock levels work on products_quantity, ensure the product you are looking at has stock = zero. bizjaved and Tsimi 1 1 Quote Link to comment Share on other sites More sharing options...
bizjaved Posted January 17, 2018 Author Share Posted January 17, 2018 Even when stock = zero, then too the product is displayed as in stock, and add to basket button remains active. Quote Link to comment Share on other sites More sharing options...
Dan Cole Posted January 17, 2018 Share Posted January 17, 2018 Are you able to post a link so someone can have a look? Dan Quote Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
burt Posted January 17, 2018 Share Posted January 17, 2018 15 hours ago, bizjaved said: Even when stock = zero, then too the product is displayed as in stock, and add to basket button remains active. This add to basket button has no link to the out of stock functionality. From memory...it is just some text on the shopping_cart page that changes dependent on the setting of the "mark product out of stock". https://github.com/gburton/Responsive-osCommerce/blob/master/shopping_cart.php#L85-L92 andhttps://github.com/gburton/Responsive-osCommerce/blob/master/shopping_cart.php#L116-L132 It's fairly useless as is, so the question is ... what next... ideas; create a module that turns off the buy buttons based on the stock level create a module that shows a stock message on the product page create a module that reacts to zero stock when the person is checking out I'm sure you can think of more. bizjaved 1 Quote Link to comment Share on other sites More sharing options...
ArtcoInc Posted January 17, 2018 Share Posted January 17, 2018 @burt Your Easy Stock Message add-on? Malcolm Quote Link to comment Share on other sites More sharing options...
bizjaved Posted January 18, 2018 Author Share Posted January 18, 2018 Thanks Burt Quote Link to comment Share on other sites More sharing options...
burt Posted January 18, 2018 Share Posted January 18, 2018 16 hours ago, ArtcoInc said: @burt Your Easy Stock Message add-on? Malcolm Forgotten about that one! Possibility. Will be making a slightly different version for the 28d. Thanks for reminding me! Quote Link to comment Share on other sites More sharing options...
BrockleyJohn Posted January 18, 2018 Share Posted January 18, 2018 The required execute function based on new data attributes is here: Quote Contact me for work on updating existing stores - whether to Phoenix or the new osC when it's released. Looking for a payment or shipping module? Maybe I've already done it. Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.