Template Replacement Tokens

General Tokens

[Order:OrderID]
[Order:UserID]
[Order:PortalID]
[Order:OrderNumber]
[Order:OrderDate]
[Order:ShipDate]
[Order:ShippingAddressID]
[Order:BillingAddressID]
[Order:AppliedTax]
[Order:ShippingCost]
[Order:OrderIsPlaced]
[Order:OrderStatusID]
[Order:PayType]
[Order:CalculatedTax]
[Order:NoteMsg]
[Order:VATNumber]
[Order:Discount]
[Order:PromoCode]
[Order:Total]
[Order:BankAuthCode]
[Order:DetailRows]
[SAddress:AddressID]
[SAddress:PortalID]
[SAddress:UserID]
[SAddress:AddressDescription]
[SAddress:AddressName]
[SAddress:Address1]
[SAddress:Address2]
[SAddress:City]
[SAddress:RegionCode]
[SAddress:CountryCode]
[SAddress:Country]
[SAddress:PostalCode]
[SAddress:Phone1]
[SAddress:Phone2]
[SAddress:PrimaryAddress]
[SAddress:CreatedByUser]
[SAddress:CreatedDate]
[SAddress:OrderID]
[BAddress:AddressID]
[BAddress:PortalID]
[BAddress:UserID]
[BAddress:AddressDescription]
[BAddress:AddressName]
[BAddress:Address1]
[BAddress:Address2]
[BAddress:City]
[BAddress:RegionCode]
[BAddress:CountryCode]
[BAddress:Country]
[BAddress:PostalCode]
[BAddress:Phone1]
[BAddress:Phone2]
[BAddress:PrimaryAddress]
[BAddress:CreatedByUser]
[BAddress:CreatedDate]
[BAddress:OrderID]
[Cart:TaxAmt]
[Cart:TaxAppliedAmt]
[Cart:ShipAmt]
[Cart:DiscountAmt]
[Cart:TotalAmt]
[Cart:OrderTotal]
[Cart:Qty]
[OrderUser:Email]
[OrderUser:username]
[OrderUser:FirstName]
[OrderUser:LastName]
[OrderUser:DisplayName]

lightbox.template Tokens

[Product:ImageThumb]
[Product:ImageURL]
[Product:ImageDesc]

Productlist.template and Productdetail.template Tokens

[TAG:PRODUCTNAME]
[TAG:PRODUCTREF]
[TAG:SUMMARY]
[TAG:DESCRIPTION]
[TAG:IMAGE]
[TAG:MANUFACTURER]
<a href="[TAG:LINK]">Link</a> - create a hyperlink to the product detail page.
<a href="[TAG:LINKSIMPLE]">Link</a> - create a hyperlink to the product detail page without extra parameters.
[TAG:FROMPRICE] - Cheapest price of models attched to the product.
[TAG:QTYREMAINING]
[TAG:SALEPRICE]
[TAG:EDITLINK] - Edit button appears if user has rights to edit the product list module.
[TAG:ADDTOBASKET] - Buy button
[TAG:MODELS] - Combo list of models if more than one exists, if not nothing will be displayed.
[TAG:OPTIONNAME1]
[TAG:OPTION1]
[TAG:OPTIONNAME2]
[TAG:OPTION2]
[TAG:OPTIONNAME3]
[TAG:OPTION3]
[TAG:OPTIONNAME4]
[TAG:OPTION4]
[TAG:QTY] - Product Quantity textbox.
[TAG:IMAGELIGHTBOX] - this tag will be replaced with the "lightbox.template" template.
[TAG:GALLERY1] - this tag will be replaced with the "lightboxgallery.template" template.
additional [TAG:GALLERY<Number>] can be added as yout wish.
[TAG:DOC1] - this tag will be replaced with the download document icon.
additional [TAG:DOC<Number>] can be added as yout wish.
logintext.text Tokens
These tokens can be used to replace the javascript call to register,login and also to skip the login for stores that do not require a login to purchase.
[TAG:Register]
[TAG:Login]
[TAG:SkipLogin]
Special Templates Tokens
[Template:<name of template>]

* NB_Store will look for a template that exists by the name and insert it into the calling template. Recursive template calling is not supported.
This method of replacement only works for text and email templates, not the productlist and productdetail templates.
lblEstShipDate.Text Tokens
This token can be found in the Checkout.ascx.resx file
[TAG:ESTIMATEDDATE]
This resource file entry allows you to put a estimated date of shipping onto the checkout.

Last edited Mar 6, 2009 at 4:59 AM by ohine, version 1

Comments

DNNhost Apr 12, 2011 at 1:59 AM 
Me to did have a button, but this changed after upgrade to 2.2.2 and now I cant find the template

rblanc Mar 11, 2010 at 5:22 PM 
As a beginner, I am very pleased with this store. Slowly but shurely, my shop begins to look like a shop. As I am in Switzerland with German Language, I translated everything into German Laguage. However, I did not find a way to translate the [TAG:ADDTOBASKET] - Buy button
I wanted "Buy" to replace with "Kaufen" but cannot find the word buy anywhere.