product macro docs
This commit is contained in:
parent
3b2ea13b57
commit
35b2b94e1d
3 changed files with 128 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ sub process {
|
|||
($productId) = WebGUI::SQL->quickArray("select productId from products where sku=".quote($_[0])) unless ($productId);
|
||||
($productId) = WebGUI::SQL->quickArray("select productId from products where productId=".quote($_[0])) unless ($productId);
|
||||
|
||||
return 'Cannot find product' unless ($productId);
|
||||
return WebGUI::International::get('cannot find product','Macro_Product') unless ($productId);
|
||||
|
||||
$product = WebGUI::Product->new($productId);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue