Hello,
I'm new in prestashop and i'm trying to create, update and delete product with custom code.
I create a product with
$product = new Product();
$product->name;
.....
$product->addToCategories(array($cat));
upload images
and attributes with
$countsize = count($get_size);
for (...