// Update new installer
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11561 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
8ab8ef1fec
commit
25811cee65
253 files changed
+14861
-14216
No files matched your search
@@ -32,9 +32,7 @@ function convert_product_price()
|
||||
$taxRates = array();
|
||||
foreach ($taxes as $data)
|
||||
$taxRates[$data['id_tax']] = (float)($data['rate']) / 100;
|
||||
$resource = DB::getInstance()->executeS('SELECT `id_product`, `price`, `id_tax` FROM `'._DB_PREFIX_.'product`', false);
|
||||
if (!$resource)
|
||||
die(Db::getInstance()->getMsgError());
|
||||
$resource = DB::getInstance()->query('SELECT `id_product`, `price`, `id_tax` FROM `'._DB_PREFIX_.'product`');
|
||||
while ($row = DB::getInstance()->nextRow($resource))
|
||||
if ($row['id_tax'])
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user