product
Informational page for products where users can add the product to their cart
Product Page Overview
This is a public informational page for a Product
. This page can be used for viewing a product's details and Reviews
as well as for adding a new Review
and adding that Product
to your shopping cart. Either Group Sidebar Menu - Add To Cart
or FloatingGroup Add To Cart
is displayed and used to order products, depending on the page width.
Key Workflows
Button Submit Review is clicked
Creates a new
Review
for theProduct
Updates the
Product
’sAverage rating
andReviews
fields
Button Add To Cart (Bottom / Right) is clicked
Triggers the
Update quantity
custom workflow, passing in eitherDropdown Quantity (Right)
orDropdown Quantity (Bottom)
’s value for the workflow thing
[Custom] Update quantity
This entire process creates a
Cart
for the user if one does not already exist, then creates aLine item
for that page’sProduct
(for that specificCart
) if one does not exist already, then updates theQuantity
on thatLine item
according to what the user has specifiedDisplays the custom workflow’s number in
var - order quantity
(this is the quantity we’ll be working with)Triggers another custom workflow,
(1) Create cart
(1) Create cart [Custom workflow]
Creates a new, unpaid
Cart
for the user if one does not exist alreadyTriggers
(2) Update line item
, passing in either the newly createdCart
or the one that already existed
(2) Update line item [Custom workflow]
Creates a new Line item for that Cart for that page’s Product if one does not exist already, using the quantity we originally passed in (
var - order quantity
)If a
Line item
already exists for thatCart
for thatProduct
, the workflow simply updates that line item’sQuantity
, adding the quantity we originally passed in
Key Elements
RepeatingGroup Product Images
Contains the list of
Images
for that page’s product, not inclusive ofImage main
RepeatingGroup Product Reviews
Displays every
Review
created for that page’s product
Last updated