[-] 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:
mDeflotte
2012-02-20 16:40:22 +00:00
parent 5d4ecb4072
commit a9fbb0f907
2 changed files with 16 additions and 3 deletions
+2
View File
@@ -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);