Add missing template variable help for sub-shelf loop.
This commit is contained in:
parent
5d8ab2d13d
commit
ca7a93452a
2 changed files with 19 additions and 1 deletions
|
|
@ -19,7 +19,13 @@ our $HELP = {
|
|||
fields => [
|
||||
],
|
||||
variables => [
|
||||
{ name => "shelves" , required=>1},
|
||||
{ name => "shelves" , required=>1, variables => [
|
||||
{ name => "title",
|
||||
description => 'shelf_title', },
|
||||
{ name => "url",
|
||||
description => 'shelf_url', },
|
||||
],
|
||||
},
|
||||
{ name => "products" , required=>1, variables => [
|
||||
{ name => "url",
|
||||
description => 'product_url', },
|
||||
|
|
|
|||
|
|
@ -51,6 +51,18 @@ our $I18N = {
|
|||
context => q|a template variable|,
|
||||
},
|
||||
|
||||
'shelf_title' => {
|
||||
message => q|The title of this shelf|,
|
||||
lastUpdated => 0,
|
||||
context => q|a template variable|,
|
||||
},
|
||||
|
||||
'shelf_url' => {
|
||||
message => q|The url of this shelf|,
|
||||
lastUpdated => 0,
|
||||
context => q|a template variable|,
|
||||
},
|
||||
|
||||
'products' => {
|
||||
message => q|A loop containing the list of products that match the keywords specified in this shelf, or that are children of this shelf. Only products that the user can see will be in the loop. Each record in the loop contains all the properties of the matching sku, plus the following variables.|,
|
||||
lastUpdated => 1247603018,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue