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
Post a Comment