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 the Product

  • Updates the Product’s Average rating and Reviews fields

Button Add To Cart (Bottom / Right) is clicked

  • Triggers the Update quantity custom workflow, passing in either Dropdown Quantity (Right) or Dropdown 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 a Line item for that page’s Product (for that specific Cart) if one does not exist already, then updates the Quantity on that Line item according to what the user has specified

  • Displays 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 already

  • Triggers (2) Update line item, passing in either the newly created Cart 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 that Cart for that Product, the workflow simply updates that line item’s Quantity, adding the quantity we originally passed in

Key Elements

RepeatingGroup Product Images

  • Contains the list of Images for that page’s product, not inclusive of Image main

RepeatingGroup Product Reviews

  • Displays every Review created for that page’s product

Last updated