Skip to content

Commit 8bf6b13

Browse files
committed
[ADO-445] Fix price formatting issue for PKR
1 parent f1e058e commit 8bf6b13

File tree

1 file changed

+1
-1
lines changed
  • app/code/Meta/Catalog/Model/Product/Feed/Builder

1 file changed

+1
-1
lines changed

app/code/Meta/Catalog/Model/Product/Feed/Builder/Tools.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public function formatPrice($price, $storeId = null)
144144
$baseCurrency->getCode()
145145
);
146146
// workaround for 2.4.3
147-
$price = trim($price, $currencySymbol ?? '');
147+
$price = ltrim($price, $currencySymbol ?? '');
148148
return $price;
149149
} catch (Exception $e) {
150150
return '';

0 commit comments

Comments
 (0)