I am struggling with getting a matrix item to show...
# suitecommerce
s
I am struggling with getting a matrix item to show on our SuiteCommerce Standard website (we don't currently use matrix items, but we have a new product that I feel would work well with it). I have been following this article, along with SuiteAnswers and NetSuite's documentation, but I am still unable to see this item appear. I have: • Created the parent and child items with the Matrix Item Assistant • Ensured all items have mandatory fields filled out (display name/code, subsidiary, item category, item type, name, etc.) • Ensured the parent item has the Page Title, Store Display Name, and Detailed Description filled out, and the Display in Web Site checked • Ensured child items have the Display in Web Site checked • Ensured all child and parent items have the correct item options filled out • Added the item options on the configuration record with relevant templates under Advanced > Item Options Any assistance or just other places to look would be appreciated!
s
Since doing all of those things have you: • Added the new fields to the relevant field sets • Performed a search index rebuild • Cleared the cache ?
s
🤦‍♀️ I am always forgetting these field sets - I did remember to clear that cache at least
s
The example field set setup script will give you an idea about the ones you need to add
s
Perfect, thanks so much for your help!
I've gotten it to show on the website! ...but I am only able to get two of my item options to show (I have 3 - type, size, and color), but only type and color are showing. I've doublechecked everywhere to ensure I've included all 3 options on field sets, configuration, item set up, but can't seem to find the reason why the size item option isn't showing. If I remove the other two and only keep size, it still doesn't show, which makes me think it is something from my end...
s
And you have at least one child product that has size set?
For example this product on my demo site is not set up correctly because none of the child products have a size set
s
I was able to get this working! I removed all the options, readded them, did the search index build, and it worked great! My last question that I haven't been able to find - is there a way to default a second item option off of the first item option? For example, we have option one with A - F and option 2 with 1 - 8, but we only offer F with 6, 7, and 8. Currently, if I selected F, all the options for 1 - 8 appear. Would this need to be customized for the webstore, or is there a native way where I could either hide or specify that the F option only comes with 6, 7, and 8?
s
🤔
I think something like that would probably require SCA development, we don’t really have conditional item options as a thing
In your situation, the default behaviour would be to show the options but have them greyed out as possibilities
It should correctly mark them as ‘unavailable’ rather than ‘out of stock’
For products with only two item option types, you can use the Grid Order extension that presents all possible options in a grid - that could help make it clear that certain combinations are never available
s
It doesn't look like I'm getting anything greyed out - if I was to select item option 1 as F, and then item option 2 as 1 - 5, it just blanks out the item option 1 field. If I go to reselect item option 1 as F, then it blanks out the item option 2 field, and so forth haha. Is greying out the possibilities what its supposed to be doing? Currently I do not have SKUs made for F:1-5, should I be creating those unavailable options as SKUs and marking them as not viewable? I am using SuiteCommerce Standard, so unsure if maybe that has something to do with it
s
It’s subtle in the base theme but note how after I select Grey, X-Small is greyed out
If you wish, you could change the CSS associated with this to hide them
Eg
Copy code
.product-views-option-tile-picker.muted {
    display: none;
}
s
Oh perfect, I think that might be the path I take. Thanks so much for your help again! 😊