We are repeatedly getting an error using the new category feature in Vinson. It works well, and then all of the sudden the category items cannot be displayed in the SMT. The error reads :
"The category's items could not be loaded. The website may be configured incorrectly for managing category items. Try refreshing your browser. It this error persists, ask your administator to correct the problem."
What happens is that we add items to the category and then all of the sudden it breaks. Unfortunately, managing these items outside of SMT is kind of useless since you cannot order the items.
We have tried several things to try and see what the issues could be including :
1.) Checking items for fields with special characters in them
2.) Checking for inactive items
3.) Checking for display in website status
4.) Looking in the console for errors
5.) Searching the source code
6.) Re-indexing the search engine
7.) Confirming the configuration of the website
8.) Re-reading the documentation
When we load the console view, we get a error saying "The list of items provided by the adapter contains items that are not in the category. Check the array for the internal ids of the extra items"... so this is our clue, however in inspecting the array, all of the items are in the category in the Netsuite UI. If we remove the items listed in the array from the category in the Netsuite UI, then the category items show up properly in SMT again.
If we re-add one of the items from the UI in Netsuite, then it breaks the category again. If we add the same item in SMT, it also breaks the site again, so it would appear that it is the item that is breaking the category, but then we can remove another item, and add this item back, and the category will still work proving it is not the item that is breaking the display of the category items in SMT.
Which brings us to our next theory, that using the SMT, you cannot have more than 10 items in a category, and at this point, we have yet to use more than 10 items in a category and have the SMT Category manager work.
Problem Solved :
Add more than 10 items to a commerce category, and the category item list breaks in SMT.