This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
formatPrice
strips decimals
#5019
Labels
block: mini-cart
Issues related to the Mini-Cart block.
type: bug
The issue/PR concerns a confirmed bug.
To reproduce
Steps to reproduce the behavior:
2
.formatPrice
such as Mini Cart block to the page.Expected behavior
A clear and concise description of what you expected to happen.
The formatted price should always contain decimals as set in the WooCommerce settings.
Screenshots
Storefront mini cart with formatted by
wc_price
(above) vs Mini Cart block usingformatPrice
(below):Environment
WordPress (please complete the following information):
The text was updated successfully, but these errors were encountered: