Restrict Access to Pricing Information

This topic applies to

Applies to

SuiteCommerce | SuiteCommerce Advanced

 

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.

Warning

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.


Note

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:

  1. In NetSuite, go to Setup > SuiteCommerce Advanced > Web Site Setup.

  2. Go to the Shopping tab.

  3. Check the Require Login for Pricing field.

To restrict access to pricing information (pre-Vinson):

  1. Create a custom module that includes the backend Configuration object as a dependency. See Configure Properties for details.

    Note

    Do not edit the original Configuration.js source file directly. See Customize and Extend Core SuiteCommerce Advanced Modules for information and best practices on customizing JavaScript.


  2. Redefine the loginToSeePrices property in the custom module to true.

  3. Save and deploy to your site.