product
Informational and ordering page for products
Product Page Overview
This is a public informational page for a Product. This page can be used for viewing a product's details and ordering the product. Users can view the product's reviews as well as add a new Review. Either Group Sidebar Menu - Order or FloatingGroup Order is displayed and used to order products, depending on the page width.
Key Workflows
Page is loaded and Get review from page URL is not empty
Triggers the
Show create reviewcustom workflow, which displays thereviewparameter'sOrder'sProductin popup review productOnly runs if the user has at least one
Ordercontaining thatProductand has not previously created aReviewfor thatProduct
Do when optionsgroup_product Right's hide is "yes" or optionsgroup_product Bottom's hide is "yes"
Because optionsgroup_product Right and optionsgroup_product Bottom are contained within focus groups on the page, we set a
hidestate on the reusable each time an option within the options group is selected in order to have the focus groups on the page closeWhen this state is set to yes, the focus groups are hidden and we reset the states of both groups to no
Button Confirm My Order is clicked
Triggers the
Charge a user using saved CCaction, which usesvar - order totalfor the charge amountCreates a new
Orderand links it to the current userPulls the
Charge Id,Amount Charged, andApplication Feefrom the charge action in the previous stepThe address information is saved for reference purposes on order confirmation pages and to pre-populate the address inputs on future order
Triggers the
Payment successcustom workflow
Button Confirm My Order has an error running a workflow
Triggered if an error occurs during the
Charge a user using saved CCactionTriggers the
Payment failurecustom workflow
Payment success [Custom workflow]
Creates a new message
Threadbetween the customer and the product ownerUpdates that
Order'sProduct'sTotal in stock,Total sold, andOrdersfieldsSends a confirmation email to the customer and product owner
Schedules an email for one week in the future to remind the user to create a
Reviewfor the productThe URL sent in the email opens the product page and shows popup review product
Payment failure [Custom workflow]
Alerts the user of the error received during the
Charge a user using saved CCaction
Key Elements
var - order subtotal
Used in the calculations in the payment workflows
Calculated by taking the result of the
Product'sPricemultiplied by the user's inputted quantity (this is stored in thevar - quantitygroup)
var - order total
Used in the calculations in the payment workflows
Calculated by adding the order's subtotal to the shipping fee
var - order subtotal+var - shipping fee
var - shipping fee
Used to calculate the order total
Populated using the
Product'sShipping feefield
var - app fee
Used in the calculations in the payment workflows
Calculated by multiplying the order total but the application fee percentage (stored on the
Websiteobject)
var - quantity
Used to calculate the order subtotal
This group is populated when the user initiates an order and pulls from either Dropdown Product Quantity (Right) or Dropdown Product Quantity (Bottom)
RepeatingGroup Product Images
Contains the list of
Imagesfor that page’s product, not inclusive ofImage main
RepeatingGroup Product Reviews
Displays every
Reviewcreated for that page’s product
Last updated
Was this helpful?