diff --git a/gshoppingflux/gshoppingflux.php b/gshoppingflux/gshoppingflux.php index 2f06df0..0c12e76 100644 --- a/gshoppingflux/gshoppingflux.php +++ b/gshoppingflux/gshoppingflux.php @@ -2440,7 +2440,7 @@ private function getItemXML($product, $lang, $id_curr, $id_shop, $combination = $no_tax = (!$use_tax ? true : false); $product['price'] = (float) $p->getPriceStatic($product['id_product'], $use_tax, $combination) * $currency->conversion_rate; $product['price_without_reduct'] = (float) $p->getPriceWithoutReduct($no_tax, $combination) * $currency->conversion_rate; - $product['price'] = $product['price'] = Tools::ps_round($product['price'], _PS_PRICE_DISPLAY_PRECISION_); + $product['price'] = Tools::ps_round($product['price'], _PS_PRICE_DISPLAY_PRECISION_); $product['price_without_reduct'] = Tools::ps_round($product['price_without_reduct'], _PS_PRICE_DISPLAY_PRECISION_); if ((float) ($product['price']) < (float) ($product['price_without_reduct'])) { $xml_googleshopping .= ''.$product['price_without_reduct'].' '.$currency->iso_code.''."\n";