how the Prestashop code will flow? -


i new prestashop. wanted learn how code flow .

ex. how product inserting in database ? how product data fetching , displaying in store page ?

please me .

you should open prestashop product class.

you can product data using this:

$product = new product($id_product);  

if add new product:

 $product = new product(); 

write parameters like:

$product->name = 'test';  $product->reference = '35gh';  $product->save(); 

if u print out product array see parameters. luck, have fun. , lot of information in stackoverflow how php add product , etc.


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -