Hi all,
Have been generally successful in managing my Magento install but I am really overwhelming diagnosing this issue and could use some advice.
For configurable items, my tier pricing is displaying with the wrong currency format.
Example: Buy 10 for 0,10 each
My store is set to USD so it should be $0.10. This is the only place on my entire store I have noticed this issue, the currency appears to be displaying correctly everywhere else.
Here is my tracing:
This is where my ability starts to run out. I think the data should be coming from module-configurable-product/Block/Product/View/Type/Configurable.php, but, this is what I see in that file:
$config = [ 'attributes' => $attributesData['attributes'], 'template' => str_replace('%s', '<%- data.price %>', $store->getCurrentCurrency()->getOutputFormat()), 'currencyFormat' => $store->getCurrentCurrency()->getOutputFormat(), 'optionPrices' => $this->getOptionPrices(), 'priceFormat' => $this->localeFormat->getPriceFormat(),
I'm not sure why
'currencyFormat' => $store->getCurrentCurrency()->getOutputFormat(),
would be result in a value of
"$%s"
Anyone have any pointers for where I should dig in next?
Thanks!
Has anyone encountered an issue in Magento where tier pricing for configurable items displays with the wrong currency format? For example, instead of "$0.10", it shows as "0,10". The currency is set to USD, but this issue only occurs in tier pricing. Get more info on this
Great insights on debugging currency format display! 💰💻 Ensuring accurate currency formatting is crucial for user experience, especially in e-commerce and financial applications. If you're looking for more tips on optimizing website functionality and user experience, check out our latest insights menu . Clear and precise formatting can make a huge difference in how users interact with pricing and transactions. Thanks for sharing these valuable debugging techniques!
It sounds like you're on the right track with debugging the currency format issue in Magento. For complex issues like this, it often helps to trace back through any recent changes to the configuration settings or the codebase. If you're also considering upgrades or improvements to your store’s design, don't forget to check out a reliable kitchen remodel Tacoma WA service to ensure your setup is optimized for both functionality and aesthetics! Good luck with the debugging!