Mohamed Thelji wrote: Hello,
To do what you want you'll just have to check through the "product" hikashop table <==> hikashop_table('product') that the products actually exists, and if it does, then you'll just have to update your product quantity for example.
hi
Is it through manual SQL query with jdbo? or it could be done using hikashop API like this? could you provide sample code?
the
//EO product
$productClass = hikashop::get('class.product');
$productClass->save($product);
part only save if it's a new product, i need it to save if not exists and update the product's data if it does exists
is there any method to make it update instead of save?
$productClass->update($product); or something?