[-] 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

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13477 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-02-20 16:40:22 +00:00
parent a00899b78a
commit 712ce8a688
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);