You can restrict pricing information to registered users only. If this feature is enabled, visitors can view your site, but they must log in to view prices and purchase products or services. This feature lets you hide prices from competitors or wholesalers and encourages users to register on your site.
With this feature enabled, if a user is not logged in, Commerce web stores replace prices with a login message and link. The user can follow this link to access a Login/Registration page, where they must register on your site to see prices or make purchases.
The Item Search API, CMS Pages API, and CMA Content API are public and contain all the information exposed by the fieldset being used. Restricting access to pricing information restricts users from viewing prices on your website. However, a user who knows a URL that calls the different APIs could still access some of this information.
Restricting access to your entire site overrides this feature.
Use the second setup procedure if you are using a pre-Vinson version of SuiteCommerce Advanced.
To restrict access to pricing information:
In NetSuite, go to Setup > SuiteCommerce Advanced > Web Site Setup.
Go to the Shopping tab.
Check the Require Login for Pricing field.
To restrict access to pricing information (pre-Vinson):
Create a custom module that includes the backend Configuration object as a dependency. See Configure Properties for details.
loginToSeePrices property in the custom module to true.
Save and deploy to your site.