Order Page

Design the orders elements

You can create an order page that will be accessible only through the link present inside the Customer Orders element.

This page should be created in Webflow inside the account folder with slug order.

If you do not want to use our default page url for order page (/account/order), do not forget to inform the Smootify scripts about your configuration!

Order Page

This is a pre-designed page for a single order.

Copy Element

Is greatly suggested to start from the Order Page elements that contains all relevant functionalities of an order page, it’s made by three main Dom Elements.

Smootify Docs

Smootify Docs

Smootify Docs

Order Page Wrapper

This Dom Element is basically the wrapper of all the order functionalities.

Inside the order page you can add all the following elements:

Order Name

Order name is an unique number associated to your order, you can add it to any text element with the following attribute:

Name
order
Value
name

Financial Status

Is a label that indicates the status of the payment, you can add it to any text element with the following attribute:

Name
order
Value
financialStatus

Fulfillment Status

Is a label that indicates the status of the shipping, you can add it to any text element with the following attribute:

Name
order
Value
fulfillmentStatus

Financial & Fulfillment Status Labels

Shopify Status Labels are codes like 'PENDING' or 'PAID', if you want to show up a different value you have to write a custom script

<script>
window.SmootifyStatusLabels = {
  "LABEL_TO_CHANGE": "My Label"
}
</script>

Where labels for Financial and Fulfillment can be found only in the Shopify Storefront doc.

Note that you must add all labels inside the same script!

Billing Address

Is the address used for billing by the customer, you can add it to any text element with the following attribute:

Name
order
Value
billingAddress

Shipping Address

Is the address used for shipping by the customer, you can add it to any text element with the following attribute:

Name
order
Value
shippingAddress

Processed At

Is the date in the current browser format for the order, you can add it to any text element with the following attribute:

Name
order
Value
processedAt

Shipping Price

Is shipping price of the order, you can add it to any text element with the following attribute:

Name
order
Value
shippingPrice

Subtotal Price

Is the subtotal price of the order, you can add it to any text element with the following attribute:

Name
order
Value
subtotalPrice

Total Price

Is the total price of the order, you can add it to any text element with the following attribute:

Name
order
Value
totalPrice

Total Tax

Is the total tax of the order, you can add it to any text element with the following attribute:

Name
order
Value
totalTax

Status Url

Is the url that will go directly to the Shopify new customers account dashboard for that specific order, you can add it to any link element with the following attribute:

Name
order
Value
statusUrl

Customer Url

Is the url that will go directly to the Shopify new customers account dashboard on the profile page, you can add it to any link element with the following attribute:

Name
order
Value
customerUrl

Customer Url

Is the url that will go directly to the Webflow Order Page, you can add it to any link element with the following attribute:

Name
order
Value
url

Line Items

This Dom element will be duplicated once per each product purchased inside the order

Inside the line item you can add the following elements:

Name

Is the name of the purchased product, you can add it to any text element with the following attribute:

Name
line-item
Value
name

Image

Is the image of the purchased product, you can add it to any img or div element with the following attribute:

Name
line-item
Value
Image

Quantity

Is the quantity purchased of the product, you can add it to any text element with the following attribute:

Name
line-item
Value
quantity

Unit Price

Is the single unit price of the purchased product, you can add it to any text element with the following attribute:

Name
line-item
Value
unitPrice

Total Price

Is the total price of the purchased product, you can add it to any text element with the following attribute:

Name
line-item
Value
totalPrice

Option

This element is a key value element that shows up variant options and properties of the purchased order, it will be duplicated once for each variant option or property used:

Name
line-item
Value
option

Inside the div with the previous attribute, you have to add two text elements with respectively the attributes:

Name
option
Value
name

and

Name
option
Value
value

Order Fulfillments

This Dom element will be duplicated once per each fulfillment of the order (you can ship items with different options)

Status

Is the status of the fulfillment (like shipped, delivered, etc..), you can add it to any text element with the following attribute:

Name
fulfillment
Value
status

Estimated Delivery

Is the estimated delivery date in the current browser format for the fulfillment, you can add it to any text element with the following attribute:

Name
fulfillment
Value
estimatedDeliveryAt

Updated at

Is the updated date in the current browser format for the fulfillment last status, you can add it to any text element with the following attribute:

Name
fulfillment
Value
updatedAt

Tracking Company

Is the name of the tracking company for the fulfillment, you can add it to any text element with the following attribute:

Name
fulfillment
Value
trackingCompany

Tracking Number

Is the number of the tracking for the fulfillment, you can add it to any text element with the following attribute:

Name
fulfillment
Value
trackingNumber

Tracking Url

Is the url of the tracking for the fulfillment, you can add it to any link element with the following attribute:

Name
fulfillment
Value
trackingUrl