Use the Product Catalog portal template to let logged-in users browse products and add items to their cart. Before using this template, your base needs:
A table that contains your products.
A linked-record field on the Products table that points to your users or customers table. This field will be used to determine which products were added to the user's cart.
At least one field on the users table that users can use to log in, such as email.
This template creates a portal with two views:
Catalog: A gallery view where users browse available productsCart: Where users see the products they added (i.e. that are linked to them)
To create it:
Click
Create extension.Choose the
Product Catalogtemplate.Select the Airtable table that contains your products.
Select the user field that should connect cart records to the logged-in user.
Finish creating the portal.
The template automatically configures the catalog so users can add products to their cart. When a user clicks the submit button on an item, the portal links the logged-in user to the product in the selected user field.
The submit button is labeled Add to Cart by default.
The Cart view only shows records connected to the logged-in user, so each user sees their own cart items.