Product Marketplace Template Reference
  • Welcome
  • Feature List
  • Quickstart Guide
  • GENERAL INFORMATION
    • Data Structure
    • Design & Layout
      • Styles
      • Homepage content and logos
      • Pages, groups, and popups
      • Padding
    • Functionality
      • Emails
      • Alerts
      • Hidden variables popup
  • ASSETS
    • Pages
      • index
      • home
      • search
      • product
      • login and loginsimple
      • owner
      • dashboard
      • termsofservice
      • privacypolicy
      • reset_pw
      • 404
      • standardpage
    • Reuseables
      • header
      • footer
      • signup/login
      • popupsreusable
      • editpopupsreusable
      • menufocusgroup or Menu options (︙)
      • cookiespermission
      • homepageblocks
      • owner's portal reusables
        • ownerdashboard
        • ownergeneralsettings
        • ownerseosettings
        • ownersocialmediasettings
        • ownersocialmediainfo
        • ownerlegalpages
        • ownerhomepagesetup
        • ownerstyles
        • ownerfeaturebacklog
      • menufocusgroup_product
      • menufocusgroup_product_admin
      • optionsgroup_product
      • menufocusgroup_order
      • order confirmation
      • menufocusgroup_category
      • popup add_edit_category
      • menufocusgroup_flag
      • popup review product
    • API workflows
Powered by GitBook
On this page
  • Product Page Overview
  • Key Workflows
  • Key Elements

Was this helpful?

  1. ASSETS
  2. Pages

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 the review parameter's Order's Product in popup review product

  • Only runs if the user has at least one Order containing that Product and has not previously created a Review for that Product

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 close

  • When 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 uses var - order total for the charge amount

  • Creates a new Order and links it to the current user

    • Pulls the Charge Id, Amount Charged, and Application Fee from the charge action in the previous step

    • The 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 action

  • Triggers the Payment failure custom workflow

Payment success [Custom workflow]

  • Creates a new message Thread between the customer and the product owner

  • Updates that Order's Product's Total in stock, Total sold, and Orders fields

  • Sends 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 product

    • The 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's Price multiplied by the user's inputted quantity (this is stored in the var - 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's Shipping 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 of Image main

RepeatingGroup Product Reviews

  • Displays every Review created for that page’s product

Popup Review Product

PrevioussearchNextlogin and loginsimple

Last updated 6 years ago

Was this helpful?