Enable buyers to mark Favourite Products
  • 23 Feb 2024
  • 1 Minute to read
  • Dark
    Light

Enable buyers to mark Favourite Products

  • Dark
    Light

Article Summary

Steps to enable buyers to mark their favorite products

Assign picklist value 'List' to Type in Web Product Relationship

  1. Go to Object Manager in Setup, and search for Web Product Relationship.
  2. Open Type in Fields & Relationships.
  3. Go to Values, click New to add 'List' and then save.

Assign permissions to Web Product Lists

  1. Go to the buyers profile or permission set
  2. Search for Web Product Lists
  3. Assign Read and Create object permissions
  4. Assign access to all fields

Assign permissions to Web Product Relationships

  1. Go to the buyers profile or permission set
  2. Search for Web Product Relationship
  3. Assign Read, Create and Delete object permissions
  4. Assign access to Web Product To and Web Product List fields

Configure storefront pages

  • Open the experience builder of your storefront
  • Create a new Page
  • Select Object Pages
  • Search and select Web Product list
  • Once pages are generated object the Web Product List Lists page
  • Drop the Product List - List View from the component selector into the content section
  • Open the Web Product List Detail page 
  • Drop the Product List - Record View from the component selector into the content section

Configure storefront navigation

  • Open the experience builder of your storefront
  • Click on the navigation menu
  • Open the Edit mode
  • Click Add Menu Item, type Site Page
  • Select new Web Product List Lists page
  • Replace :objectApiName in the url with welisacommerce__Web_Product_List__c
  • Replace :filterName in the url with Default

Publish storefront