all macro template docs broken into variable entries

This commit is contained in:
Colin Kuskie 2006-06-02 03:27:36 +00:00
parent e19ab5f67a
commit c0dd288dfc
14 changed files with 283 additions and 143 deletions

View file

@ -31,6 +31,94 @@ our $I18N = {
lastUpdated => 1128965480,
},
'variants.message' => {
message => q|The internationalized text "^International("available product configurations","Macro_Product");"|,
lastUpdated => 1149217564,
},
'variantLoop' => {
message => q|A loop containing information about all variants about the Product.|,
lastUpdated => 1149217564,
},
'variant.compositionLoop' => {
message => q|A loop containing information about all variants about the Product.|,
lastUpdated => 1149217564,
},
'parameter' => {
message => q|The parameter that defines this variant, for example, size.|,
lastUpdated => 1149217564,
},
'value' => {
message => q|The value of the parameter, for the example of size, XL.|,
lastUpdated => 1149217564,
},
'variant.variantId' => {
message => q|The Id for this variant of the Product.|,
lastUpdated => 1149217564,
},
'variant.price' => {
message => q|The price for this variant of the Product.|,
lastUpdated => 1149217564,
},
'variant.weight' => {
message => q|The weight for this variant of the Product.|,
lastUpdated => 1149217564,
},
'variant.sku' => {
message => q|The SKU for this variant of the Product.|,
lastUpdated => 1149217564,
},
'variant.addToCart.url' => {
message => q|A URL to add this variant of the Product to the user's shopping cart.|,
lastUpdated => 1149217564,
},
'variant.addToCart.label' => {
message => q|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.|,
lastUpdated => 1149217564,
},
'productId' => {
message => q|The unique identifier of this Product.|,
lastUpdated => 1149217564,
},
'title' => {
message => q|The title for this Product.|,
lastUpdated => 1149217564,
},
'description' => {
message => q|The description of this Product.|,
lastUpdated => 1149217564,
},
'price' => {
message => q|The Product's base cost.|,
lastUpdated => 1149217564,
},
'weight' => {
message => q|The Product's base weight.|,
lastUpdated => 1149217564,
},
'sku' => {
message => q|The Product's base SKU.|,
lastUpdated => 1149217564,
},
'product body' => {
message => q|
@ -40,85 +128,8 @@ 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.</p>
<p>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:</p>
<p><b>variants.message</b><br />
The internationalized text "^International("available product configurations","Macro_Product");"
</p>
<p><b>variantLoop</b><br />
A loop containing information about all variants about the Product.
</p>
<div class="helpIndent">
<p><b>variant.compositionLoop</b><br />
A loop containing information about all variants about the Product.
</p>
<div class="helpIndent">
<p><b>parameter</b><br />
The parameter that defines this variant, for example, size.
</p>
<p><b>value</b><br />
The value of the parameter, for the example of size, XL.
</p>
</div>
<p><b>variant.variantId</b><br />
The Id for this variant of the Product.
</p>
<p><b>variant.price</b><br />
The price for this variant of the Product.
</p>
<p><b>variant.weight</b><br />
The weight for this variant of the Product.
</p>
<p><b>variant.sku</b><br />
The SKU for this variant of the Product.
</p>
<p><b>variant.addToCart.url</b><br />
A URL to add this variant of the Product to the user's shopping cart.
</p>
<p><b>variant.addToCart.label</b><br />
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.
</p>
</div>
<p><b>productId</b><br />
The unique identifier of this Product.</p>
<p><b>title</b><br />
The title for this Product.</p>
<p><b>description</b><br />
The description of this Product.
</p>
<p><b>price</b><br />
The Product's base cost.
</p>
<p><b>weight</b><br />
The Product's base weight.
</p>
<p><b>sku</b><br />
The Product's base SKU.
</p>
|,
lastUpdated => 1146609252,
lastUpdated => 1149217613,
},
};