Orders Elements
With Smootify you can use Shopify accounts functionality and let your customer see placed orders directly from your site.
Order Page
You can create an order page that will be accessible only through the link present inside the Customer Orders element. By default this page is located at the url /account/order. If you wish to change it up, do not forget to change up the JS option for it!
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.
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:
order
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:
order
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:
order
fulfillmentStatus
Cancel Reason
Is a label that indicates the cancel reason (if the order has been cancelled), you can add it to any text element with the following attribute:
order
cancelReason
Billing Address
Is the address used for billing by the customer, you can add it to any text element with the following attribute:
order
billingAddress
Shipping Address
Is the address used for shipping by the customer, you can add it to any text element with the following attribute:
order
shippingAddress
Created At
Is the date in the current browser format for the order creation, you can add it to any text element with the following attribute:
order
createdAt
Processed At
Is the date in the current browser format for the order procession, you can add it to any text element with the following attribute:
order
processedAt
Shipping Price
Is shipping price of the order, you can add it to any text element with the following attribute:
order
shippingPrice
Subtotal Price
Is the subtotal price of the order, you can add it to any text element with the following attribute:
order
subtotalPrice
Total Price
Is the total price of the order, you can add it to any text element with the following attribute:
order
totalPrice
Total Tax
Is the total tax of the order, you can add it to any text element with the following attribute:
order
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:
order
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:
order
customerUrl
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:
line-item
name
Image
Is the image of the purchased product, you can add it to any img or div element with the following attribute:
line-item
image
Quantity
Is the quantity purchased of the product, you can add it to any text element with the following attribute:
line-item
quantity
Unit Price
Is the single unit price of the purchased product, you can add it to any text element with the following attribute:
line-item
unitPrice
Total Price
Is the total price of the purchased product, you can add it to any text element with the following attribute:
line-item
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
line-item
option
Inside the div with the previous attribute, you have to add two text elements with respectively the attributes:
option
name
and
option
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:
fulfillment
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:
fulfillment
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:
fulfillment
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:
fulfillment
trackingCompany
Tracking Number
Is the number of the tracking for the fulfillment, you can add it to any text element with the following attribute:
fulfillment
trackingNumber
Tracking Url
Is the url of the tracking for the fulfillment, you can add it to any link element with the following attribute:
fulfillment
trackingUrl