keat Posted February 11, 2016 Share Posted February 11, 2016 Product has many options, 1amp, 2amp 3amp etc etc. Assume 3amp is out of stock, so i added this to the matrix, checked use stock level and zero stock, but it didn't take option out of stock. Am I doing something wrong ? Quote Link to comment Share on other sites More sharing options...
bsmither Posted February 11, 2016 Share Posted February 11, 2016 Not doing anything wrong. (but maybe misunderstand the purpose of the Options Matrix table if you are using it to just identify what is out of stock.) CubeCart has not (yet) figured out how to code for displaying option selectors for option combinations loaded in the Options Matrix table. For example, red, green, yellow, small, medium, large. There are nine rows in the Options Matrix table. There is a selector for Color and a Selector for Size being shown on the Product page. There is zero stock for red-small. But there is stock for red-medium so you can't completely eliminate red as a choice. When the customer adds the product with the choices of red and small options to the basket, CubeCart, at that time, determines if red-small is in stock. This process applies to all options and option combinations where stock levels can be set. Quote Link to comment Share on other sites More sharing options...
keat Posted February 11, 2016 Author Share Posted February 11, 2016 I'm not sure mine is working, even if i select red and small as matrix options, set stock to zero and use stock level. It still allows me to add to the basket ?? Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted February 11, 2016 Share Posted February 11, 2016 2 hours ago, keat said: I'm not sure mine is working, even if i select red and small as matrix options, set stock to zero and use stock level. It still allows me to add to the basket ?? Which skin are you using and have you tested the behaviour with a stock unaltered version of Foundation skin ? Quote Link to comment Share on other sites More sharing options...
bsmither Posted February 11, 2016 Share Posted February 11, 2016 Hmm. You should get: The following errors were detected: Sorry but the chosen product option combination is out of stock. Quote Link to comment Share on other sites More sharing options...
keat Posted February 12, 2016 Author Share Posted February 12, 2016 I've tested with the Foundation skin yes. Any ideas where I start looking ? Quote Link to comment Share on other sites More sharing options...
keat Posted February 12, 2016 Author Share Posted February 12, 2016 If I have 'Use Stock Level' checked on the General page, and say there are 99 items in stock. Then on the matrix I mark a particular group of products out of stock, when I view the cart the whole product is marked out of stock. Even though I do have an option available. ie 2amp. If i unckeck 'Use Stock Level' on the general page, then it allows me to add to my basket, even though the matrix says it's out of stock. Quote Link to comment Share on other sites More sharing options...
mojee Posted February 12, 2016 Share Posted February 12, 2016 in product option tick option matrix and in option matrix set stock level for each product. Quote Link to comment Share on other sites More sharing options...
keat Posted February 12, 2016 Author Share Posted February 12, 2016 I've tried many combinations but it still allows me to add to the basket. Quote Link to comment Share on other sites More sharing options...
keat Posted February 12, 2016 Author Share Posted February 12, 2016 I can't even get it to work on a stock build. It seems the moment that I add a matrix option as out of stock, it marks the whole product out of stock. Quote Link to comment Share on other sites More sharing options...
keat Posted February 15, 2016 Author Share Posted February 15, 2016 I think I might have figured this out, although it makes little sense. It seems to work backwards.to how you'd think. On the main product General tab, set use stock level as checked and input a stock level. Then on the matrix, add each option to the matrix, check use stock level, and put a stock figure for everything other than the combination which is out of stock. Surely it would have made more sense to mark the one combination out of stock, rather than every other combination in stock ?? Quote Link to comment Share on other sites More sharing options...
bsmither Posted February 15, 2016 Share Posted February 15, 2016 On the one hand, Product Options and the Options Matrix table is simple enough that no documentation is necessary. On the other hand, if something isn't behaving as you've been told or are assuming, then you think maybe you are doing something wrong*. On the third hand, it could be something else is malfunctioning - not at all a case of "operator error". (* I'm currently trying to get Eclipse, Tomcat, and web page tutorials to all work together. What a freakin' nightmare this is!!) So, this may involve getting deep and dirty into the code to learn why your experience is not typical. Send me a PM with your email address. 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.