Enable buyers to mark Favourite Products
- 23 Feb 2024
- 1 Minute to read
- Print
- DarkLight
Enable buyers to mark Favourite Products
- Updated on 23 Feb 2024
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Steps to enable buyers to mark their favorite products
Assign picklist value 'List' to Type in Web Product Relationship
- Go to Object Manager in Setup, and search for Web Product Relationship.
- Open Type in Fields & Relationships.
- Go to Values, click New to add 'List' and then save.
Assign permissions to Web Product Lists
- Go to the buyers profile or permission set
- Search for Web Product Lists
- Assign Read and Create object permissions
- Assign access to all fields
Assign permissions to Web Product Relationships
- Go to the buyers profile or permission set
- Search for Web Product Relationship
- Assign Read, Create and Delete object permissions
- 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