6a47b2232a
* Consistent currency data and formatting for product prices * Consistent get_store_currency_properties usage * Update tests with schema changes * min_price and max_price to subunit format * Product query of min and max prices using subunit * Cart item totals * Collection data schema object and currency data inclusion * Handle subunits and new API in product prices * Update price slider to format numbers using library and new API responses for subunits * Product query of min and max prices using subunit * Fix indents in readme * Add todo for currency formatting * Handle step for subunits, fixes min/max constraints * Handle subunit conversion on display, using consistent currency object and wrapped NumberFormat component. * Prettier ran * Update usePriceConstraints tests so rounding doesn't make all values be 0 * Rename to minorUnitValue * Move currencyToNumberFormat to index file * siteCurrencySettings to constant rather than function * remove cents term * cents->minor unit * typo in todo note * Switch to FormattedMonetaryAmount * Formatting * wrong case |
||
---|---|---|
.. | ||
test | ||
errors.js | ||
index.js | ||
price.js |