App::910::functions
DESCRIPTION
DEPENDS
product_add()
Adds new product to category, or updates old one
Add new product
product_add
(
'product.product_number' => '',
'product.status' => '', # Y/N/T
'product_lng.lng' => '',
'product_lng.name' => '',
'product_lng.description' => '',
'product_sym.ID' => '', # product_cat.ID
);
Change product number (displayed in catalog)
product_add ( 'product.ID' => '', 'product.product_number' => '', );
Create new product modification
product_add
(
'product.ID_entity' => '',
'product_lng.lng' => '',
'product_lng.description' => '',
'product_lng.metadata' => '',
);
Create or update language version of product modification
product_add
(
'product.ID' => '',
'product_lng.lng' => '',
'product_lng.description' => '',
'product_lng.metadata' => '',
);
Add new product symlink into category
product_add ( 'product.ID_entity' => '', 'product_sym.ID' => '', # product_cat.ID );
AUTHORS
Comsultia, Ltd. (open@comsultia.com)
If published informations are not helpfull, something is missing or wrong, please report. Thanx for contribution.
This content is generated from file 'http://svn.cyclone3.org/trunk/frame/_addons/App/910/functions.pm'
User Comments