Fix a typo with inStock vs in_stock template variables for the Product. It should be in_stock.

Add a new template variable, canEdit.
Change the default template to use canEdit to display the list of variants, so they aren't showed
twice.
This commit is contained in:
Colin Kuskie 2008-06-19 19:59:33 +00:00
parent f2679ae07e
commit 085f521225
5 changed files with 11 additions and 2 deletions

View file

@ -18,6 +18,7 @@ our $HELP = {
],
fields => [],
variables => [
{ 'name' => 'canEdit' },
{ 'name' => 'brochure_icon' },
{ 'name' => 'brochure_url' },
{ 'name' => 'brochure_label' },