Help: Flat Discount Coupon Template

For more help, visit the WebGUI Community Wiki.

The following template variables are available for this asset.

formHeader
The top of the form.
formFooter
The bottom of the form.
addToCartButton
A submit button with 'add to cart' written on it.
mustSpend
How much must a visitor spend in this transaction for the discount to be applied?
percentageDiscount
What percentage of the price will be subtracted by this coupon?
priceDiscount
What flat amount should be subtracted by this coupon?
templateId
Choose the template you wish to use to display this coupon.
hasAddedToCart
A conditional indicating that the user has added the product to their cart, so we can display the thank you message.
thankYouMessage
Write a "thank you message", this could also just be a notice that something was added to the cart.
alreadyHasCoupon
A conditional indicating that the user already has this coupon in their cart.
continueShoppingUrl
A URL to reset the Product so that the user can continue shopping.
sku
Stands for Stock Keeping Unit, which is just a fancy term for an inventory code or product number.
description
Describe the product or service here.
displayTitle
Indicate whether the title should be displayed or not.
vendorId
Which person/company defined in the commerce system should get credit for selling this item, if any?
shipsSeparately
If set to yes, then this Sku will incur additional, independent shipping costs, rather than sharing costs with other items in a cart.
assetId
The unique identifier for this Asset, in base64 encoding.
assetIdHex
The unique identifier for this Asset, in hexadecimal format.
title
The title of the Asset
menuTitle
The title of the Asset used in Navigations.
url
The Asset's URL.
isHidden
A boolean that will be true if this Asset is set not be displayed in Navigations.
newWindow
A boolean that will be true if this Asset is set open in a new browser window.
encryptPage
A boolean that will be true if this Asset is set to be served over SSL.
ownerUserId
The ID of the user who owns this Asset.
groupIdView
The ID of the group that is allowed to view this Asset.
groupIdEdit
The ID of the group that is allowed to edit this Asset.
synopsis
A short description of the contents of the Asset.
extraHeadTags
Extra tags that will be added to the header of the page containing the Asset. These will be included by default so you do not need to add them youself, unless you want them to be in there twice.
isPackage
A boolean that will be true if this Asset is set to be a Package.
isPrototype
A boolean that will be true if this Asset is set to be a prototype.
status
With respect to version control, the status of this Asset. Typically these are the English strings "approved", "pending", "committed".
assetSize
How big this asset is in bytes. The sum of all database fields and attachments.
keywords
This will be a string with the keywords for this asset. Individual keywords will be joined with spaces, unless the keyword contains spaces, in which case it will be quoted.
 
 
Admin Console
Help: Flat Discount Coupon Template
*
Admin Console