Store Page

The Store page provides a way for users to shop for Merchandise products through browsing, searching, filtering, and viewing categories. The Store shows active Merchandise products that have Self Service Enabled selected in Staff View. Each merchandise product shows a name, short description (including HTML content), retail price, if users are logged in as members, the member price, and a product image. For any Merchandise product, users can click to see more information.

The Merchandise products on the page are shown in groups of ten, so users see a count at the top of the page showing how many products are being shown out of the total number of products, and once users get to the bottom of the page, they can click to see the next group of ten products.

  Show Me an Image...


Users can search for Merchandise products in the store by entering complete words which are searched within the name, description, and short description of Merchandise products.

  Show Me an Image...

If users have selected a category and then search for a word, the search is performed within the entire store, and not within the category.


Categories provide a way to group similar Merchandise products for easier shopping in Community Hub. Users can see all Merchandise products, or click one of the categories to see only the Merchandise products in that category. Users can also click the Store Home button at any time to go back to the Store page.

In order to be shown, Categories must have Self Service Enabled selected, and are shown to users based on the Display Order for the Category. Within a category, Merchandise products are shown based on the Display Order with featured products in the category showing first followed by all other products in the category.

  Show Me an Image...

Categories and filters can both be applied at the same to help users find products. A message is displayed if no matching products are found.


Filters can be added to the Store page to make it easier for users to find products and to highlight featured products.

By default, the Store page shows all Merchandise products and can be configured to include a filter to show just products that are featured in Community Hub.

  Show Me an Image...

If your org has a large number of merchandise products, we recommend adding just a few fields containing a small amount of data to the field set used on the card, as too much field data, like a long product description, can exceed Salesforce limits. Additionally, we recommend setting the "Featured" filter as the default.

You can configure Community Hub to show featured Merchandise products on the page by default, rather than the list of all Merchandise products.

  Show Me an Image...

Finally, you can add additional custom filters to the page to help users shop easily in your Community Hub store. You can even configure a custom filter to be shown on the page by default.

When making a custom query for a Community Hub store filter:

  • The SELECT statement must include Name, Short Description, and Web Product Image URL. Example: Name, nu__ShortDescription__c, nu__WebProductImageURL__c.
  • The WHERE clause must look for merchandise products with Self Service Enabled is set to True. Example: RecordType = Merchandise AND SelfServiceEnabled__c = True.

Categories and filters can both be applied at the same time to help users find products. A message is displayed if no matching products are found.

Store Home Button

At any time while shopping, users can click the Store Home button to be taken to the Store page with any selected categories or filters cleared. How the Store page appears to users is based on your chosen filter configuration. By default, all Merchandise product are shown. You can also configure the Store page to show featured Merchandise products, or to show Merchandise products based on a custom filter.


Users Who Are not Logged In or Are Logged in Non Members

Community Hub guests and non members can only view retail prices for merchandise products. Guests are prompted to log in to Community Hub before they can add a merchandise product to their cart.

  Show Me an Image...

Logged in Member Users

Logged in member users can view the retail and member price for merchandise products.

  Show Me an Image...

Adding Items to the Cart When Not Logged In

If users try to add items to the cart when they are not logged in, they will be automatically taken to the Welcome page where they can either log in with an existing account or create a new account in order to proceed.

If the user has an existing account and decides to log in, they will automatically be brought back to the store page to continue shopping and will then be able to add items to their cart. Once logged in, members will see product pricing specific to their member type along with the retail price. If they are not a member, only retail pricing is shown.

If the user creates an account, they will also be brought back to the product page after account creation is complete. From here users can continue shopping and will have the ability to add merchandise products to their cart.

Page Information

Page apex/store
Controller Name PageController
Template StoreTemplate
Heading Label OnlineStore
Description Label BrowseOnlineProducts

Cards on the Page

StoreList Store List Card Type