Using Variables on the Order Confrimation Page
Posted: Thu Nov 04, 2010 11:25 am
I'm researching the variable capabilities and I'm curious if I'm able to access the variables looping on the order confirmation page to include with some 3rd party aplications.
Can you direct me to the available variables on the order confirmation page? I’m specifically looking for the variables for these items looping on the receipt page:
orderId - It will be the id of the order
email - The is the email of the customer (billing).
firstName - The first name of the customer (billing).
lastName - The last name of the customer (billing).
sku - The the sku of the product.
price - The the price of the product.
itemImageUrl - The the url to the image of the product
postalCode – zip code of the customer
title - This is the name of the product
url - This is the url on the site to link the product to.
I found this in the dev pages:
for feeds:
Available Variables
The variables that are available to you depend on the page being viewed. You will always have access to the ”Store” and ”User” variables. If the scriptlet is part of a page that is viewing a category, you will also have access to the ”Category” variable. The same applies to ”Product”, ”Webpage”, and ”Link”.
A sample of the more commonly accessed properties is given below.
$Store.Name
$Store.StoreUrl
$User.IsAnonymous
$User.Name
$User.PrimaryAddress.FirstName
$User.PrimaryAddress.LastName
$Product.Name
$Product.Price
$Product.Weight
$Category.Name
Any idea is there is a comprehensive list of them? Also anyone had any problems pulling these on the Reciept page, or know where I could place a JS feed with these variables?
Thanks.
Can you direct me to the available variables on the order confirmation page? I’m specifically looking for the variables for these items looping on the receipt page:
orderId - It will be the id of the order
email - The is the email of the customer (billing).
firstName - The first name of the customer (billing).
lastName - The last name of the customer (billing).
sku - The the sku of the product.
price - The the price of the product.
itemImageUrl - The the url to the image of the product
postalCode – zip code of the customer
title - This is the name of the product
url - This is the url on the site to link the product to.
I found this in the dev pages:
for feeds:
Available Variables
The variables that are available to you depend on the page being viewed. You will always have access to the ”Store” and ”User” variables. If the scriptlet is part of a page that is viewing a category, you will also have access to the ”Category” variable. The same applies to ”Product”, ”Webpage”, and ”Link”.
A sample of the more commonly accessed properties is given below.
$Store.Name
$Store.StoreUrl
$User.IsAnonymous
$User.Name
$User.PrimaryAddress.FirstName
$User.PrimaryAddress.LastName
$Product.Name
$Product.Price
$Product.Weight
$Category.Name
Any idea is there is a comprehensive list of them? Also anyone had any problems pulling these on the Reciept page, or know where I could place a JS feed with these variables?
Thanks.