[-] FO : #PSCFI-4762 - When cart contains virtuals products and physicals products, use only physicals to calculate shipping cost
// Product virtuals added before upgrading need to have the column ps_product.is_virtual at 1
This commit is contained in:
@@ -8,3 +8,5 @@ SET o.`current_state` = (
|
||||
ORDER BY oh.`date_add` DESC
|
||||
LIMIT 1
|
||||
);
|
||||
|
||||
UPDATE `PREFIX_product` set is_virtual = 1 WHERE id_product IN (SELECT id_product FROM `PREFIX_product_download` WHERE active = 1);
|
||||
|
||||
Reference in New Issue
Block a user