A company came to us looking for help to resolve the following issue: When logging into their password-protected SuiteCommerce website as a customer, pages were not displaying data.
This error occurred for a customer who was assigned a price level that was different from the default price level in the website setup record. Every PLP the customer visited returned a “page not found” screen despite being able to use the search bar to find and view items on the PDP.
There are many aspects to consider when determining why a SuiteCommerce website is not showing items. Many of them are detailed in this article that was written by my teammate Collin back in September of 2024: How to Add Items to Display in a SuiteCommerce Webstore
None of the above items were resolving our issue. Looking at the network tab via the browser inspect tool, we found an error “Cannot sort by field NLSortOption[field=pricelevel5, direction-desc”. This pointed us in the direction of the PLP sort options.
Looking in the configuration record, we found the Search Result Sorting was set to have the “onlinecustomerprice” as a sort option.
Configuration Record Search > Results Sorting Options
However, in the website setup record search index, only the default price level was specified in the sort fields.
Only One Price Level in Setup Record Search Index > Sort Fields
This was causing our error when a customer with a price level other than the one specified in the sort fields logged into the site, as the website was trying to offer sorting by that customer’s price level. Still, it could not reference the price level in the sort fields.
To resolve this, we added ALL price levels to the sort fields. Any customer was now able to view products on the website regardless of their price level.
All Price Levels Added to Sort Fields
If a “page not found” error is showing for all PLPs despite all other settings for the SuiteCommerce site being correct and items being viewable on the PDP, check the browser inspect tool for errors. If the error is “Cannot sort by field NLSortOption[field=pricelevel5, direction-desc” the website is likely trying to offer sorting by a price level not set in the website setup record sort fields.
If the solution outlined in the article did not resolve the issue you are facing, feel free to contact our team for assistance!
We like to update our blogs and articles to make sure they help resolve any troubleshooting difficulties you are having. Sometimes, there is a related feature to enable or a field to fill out that we miss during the instructions. If this article didn't resolve the issue, please use the chat and let us know so that we can update this article!
If you liked this article, you'll LOVE our book on SuiteCommerce! Order the free SuiteCommerce book today, and we'll even pay for shipping!
If you have general questions about SuiteCommerce or more specific questions about how our team can support your business as you implement NetSuite or SuiteCommerce, feel free to contact us anytime. Anchor Group is a certified Oracle NetSuite Alliance Partner and Commerce Partner equipped to handle all kinds of NetSuite and SuiteCommerce projects, large or small!
We are a premium SuiteCommerce agency that creates powerful customer portals. Unlike our competitors, we have already solved your problems.
Tagged with Troubleshooting, Case Studies