a2zmovies Posted January 16, 2016 Share Posted January 16, 2016 (edited) Hi I am using Foundation skin I have the Hide out-of-stock product checked but still shows in cart and lets me add to cart. Also when I check (Quantity discounts available) It does not bring it up.Thanks for any help with this Ray Edited January 16, 2016 by a2zmovies Quote Link to comment Share on other sites More sharing options...
mojee Posted January 28, 2016 Share Posted January 28, 2016 have you checked (use stock level). in first page when you list a product. discount available , must be set a low price per item, for example price is £2 so discount must be £1.99 or low. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted January 28, 2016 Share Posted January 28, 2016 Try logging in as one of your customers and see if you get the same results. The Admin can see and do some things on the store front that customers cannot. Quote Link to comment Share on other sites More sharing options...
sailing123 Posted March 28, 2017 Share Posted March 28, 2017 I am experiencing the same issue. I have ticked "hide of stock products" in the store settings. I have cleared the cache of the store, the cache of the browser, forced a refresh, no change, out of stock products still visible I have logged as a customer, made no difference. I have tested it on products with and without matrix stock level, no difference either. Something is not working here. Quote Link to comment Share on other sites More sharing options...
bsmither Posted March 28, 2017 Share Posted March 28, 2017 Please verify the following: In admin, Store Settings, Advanced tab, enable Debugging and enter your IP address in the adjacent field (www.whatismyip.com). Save. In the debug section, find __SESSION and the 'admin_id'. Note that the value is not zero. Logout of admin. View the storefront. In the debug section, verify that if there is an 'admin_id', it is zero. Quote Link to comment Share on other sites More sharing options...
sailing123 Posted March 29, 2017 Share Posted March 29, 2017 Hi, I can confirm that the admin_id from the back end is not zero . However, once I logged out and looked for the admin_id of the storefront, there is no admin_id line, it is gone. S. Quote Link to comment Share on other sites More sharing options...
bsmither Posted March 29, 2017 Share Posted March 29, 2017 And when there is no admin_id in __SESSION, do you still see (hidden) out-of-stock items? Quote Link to comment Share on other sites More sharing options...
sailing123 Posted March 29, 2017 Share Posted March 29, 2017 Good question and interesting observation. If I am logged out, products with no matrix option stock level are hidden but products where I use the matrix, the size out of stock is still listed and visible. Quote Link to comment Share on other sites More sharing options...
bsmither Posted March 29, 2017 Share Posted March 29, 2017 (edited) CubeCart falls back to the "parent" product's (main) stock level if no matrix combination's stock level can be found. That is, using the Options Matrix table, one can specify a stock level and a "use stock level" for each row in the OM table. If any row from this table gives any kind of "yes, we have something" response, the product will be shown. For the product you have observed, you said "size out of stock is still listed", please explain that. Are you saying that this product has only "Size" as an option? Are there any Size rows in the OM table? Edited March 29, 2017 by bsmither Quote Link to comment Share on other sites More sharing options...
sailing123 Posted March 29, 2017 Share Posted March 29, 2017 Size is the only option in the matrix indeed. For this product, I have 8 different sizes. I set up on purpose size UK 10 = 0, "use stock level" is also ticked at matrix level. " Use Stock Level " is also ticked at the general tab of the product. Yet when I go on the product page of the storefront and I am logged out of admin, I click on Size and all sizes are there in the drop down list including size UK 10 which I set at 0. I would have expected size UK 10 to be hidden unless it does not work at matrix level ? Quote Link to comment Share on other sites More sharing options...
bsmither Posted March 29, 2017 Share Posted March 29, 2017 Here's the reason why this does not show expected results: the OM table is built by creating a row for every possible option combination. This is absolutely not how options are presented on the product page - regardless that there is only one option group (size). CubeCart must allow for having more than one option group (size, color, scent, etc). If Big/Red/Cherry is out of stock, Small/Red/Cherry and Big/Green/Cherry is still in stock. So the options to choose any size, any color, and any scent must always show the full complement of choices. Even if everything you have in Big is out of stock, even if you only have one option group, CubeCart is not programmed to deal with specifics at that level. That's not to say CubeCart can't have programming added to evaluate channel-voids in an n-dimensional matrix. Quote Link to comment Share on other sites More sharing options...
sailing123 Posted March 30, 2017 Share Posted March 30, 2017 Thanks for this clarification. I know where I stand now until Cubecart decides to do something about it. In the meantime, Semperfi is doing a modification for me so that when the option in the matrix is out of stock, it will continue to show but in grey colour and it will not be selectable by customers, so even better. Quote 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.