Quotes
Summary
The Quotes
loop lets you display various information about quotes.
Examples
Basic usage
Notice the use of @item.GetValue to get data from the loop variable.
If you just write @GetValue, the data will be taken from outside the loop.
Similarly, you have to use @item.GetLoop to use loops inside a loop.
Check if the loop exists
Example of usage
The following general example illustrates how to use a loop construct.
Check if the loop exists
Available tags
Ecom:Cart.UserAddressToken
Returns token of the user address.
@GetString("Ecom:Cart.UserAddressToken")
Ecom:CustomerCenter.Orders.AddRMA
Returns link to add RMA.
@GetString("Ecom:CustomerCenter.Orders.AddRMA")
Ecom:CustomerCenter.Quotes.AddToCart
Returns link to add the quote to cart.
@GetString("Ecom:CustomerCenter.Quotes.AddToCart")
Ecom:CustomerCenter.Quotes.MailOrderURL
Returnst URL to mail order.
@GetString("Ecom:CustomerCenter.Quotes.MailOrderURL")
Ecom:CustomerCenter.Quotes.PrintQuoteURL
Returns URL to print.
@GetString("Ecom:CustomerCenter.Quotes.PrintQuoteURL")
Ecom:CustomerCenter.Quotes.QuoteDetailsURL
Returns URL to the quote details.
@GetString("Ecom:CustomerCenter.Quotes.QuoteDetailsURL")
Ecom:CustomerCenter.Quotes.Reorder
Returns URL to reorder the quote.
@GetString("Ecom:CustomerCenter.Quotes.Reorder")
Ecom:Order.ReorderID
Returns the URL for the reorder button.
@GetInteger("Ecom:Order.ReorderID")
Available loops
AvailableQuoteStates
The AvailableQuoteStates
loop lets you display available quote states.
@foreach (LoopItem item in GetLoop("AvailableQuoteStates")){ <p>@item.GetValue("TagName")</p> }