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 review
custom workflow, which displays thereview
parameter'sOrder
'sProduct
in popup review productOnly runs if the user has at least one
Order
containing thatProduct
and has not previously created aReview
for 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
hide
state 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 CC
action, which usesvar - order total
for the charge amountCreates a new
Order
and links it to the current userPulls the
Charge Id
,Amount Charged
, andApplication Fee
from 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 success
custom workflow
Button Confirm My Order has an error running a workflow
Triggered if an error occurs during the
Charge a user using saved CC
actionTriggers the
Payment failure
custom workflow
Payment success [Custom workflow]
Creates a new message
Thread
between the customer and the product ownerUpdates that
Order
'sProduct
'sTotal in stock
,Total sold
, andOrders
fieldsSends 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
Review
for 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 CC
action
Key Elements
var - order subtotal
Used in the calculations in the payment workflows
Calculated by taking the result of the
Product
'sPrice
multiplied by the user's inputted quantity (this is stored in thevar - quantity
group)
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 fee
field
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
Website
object)
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
Images
for that page’s product, not inclusive ofImage main
RepeatingGroup Product Reviews
Displays every
Review
created for that page’s product
Last updated