package WebGUI::i18n::English::Macro_Product; our $I18N = { 'add to cart' => { message => q|Add to cart|, lastUpdated => 0, context => q|The label for the add to cart link.| }, 'available product configurations' => { message => q|Available product configurations|, lastUpdated => 0, context => q|Message indicatin the available configurations.| }, 'macroName' => { message => q|Product|, lastUpdated => 1128918830, }, 'no sku or id' => { message => q|No SKU or productId passed|, lastUpdated => 1135117939, }, 'cannot find product' => { message => q|Cannot find product|, lastUpdated => 1128976376, }, 'product title' => { message => q|Product Macro|, lastUpdated => 1128965480, }, 'product body' => { message => q|
^Product(SKU or productId, [templateId]);
This macro looks up a Product in the Product Manager by SKU or productId and
allows information about it to be displayed. If the SKU or productId cannot
be found, the message ^International("cannot find product","Macro_Product"); will
be displayed.
The macro takes one optional argument, an alternate template in the Macro/Product namespace for formatting information about the Product. The following variables are available in the template:
variants.message
The internationalized text "^International("available product configurations","Macro_Product");"
variantLoop
A loop containing information about all variants about the Product.
variant.compositionLoop
A loop containing information about all variants about the Product.
parameter
The parameter that defines this variant, for example, size.
value
The value of the parameter, for the example of size, XL.
variant.variantId
The Id for this variant of the Product.
variant.price
The price for this variant of the Product.
variant.weight
The weight for this variant of the Product.
variant.sku
The SKU for this variant of the Product.
variant.addToCart.url
A URL to add this variant of the Product to the user's shopping cart.
variant.addToCart.label
An internationalized label, "^International("add to cart","Macro_Product");",
to display to the user for adding this variant
of the Product to their shopping cart.
productId
The unique identifier of this Product.
title
The title for this Product.
description
The description of this Product.
price
The Product's base cost.
weight
The Product's base weight.
sku
The Product's base SKU.