All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
FormattedNumber
ofinstallmentsRate
onInstallmentsRenderer
duo API response
- Example of usage of unit multiplier and measurement unit on
product-selling-price
.
- Create new variable
sellingPriceWithUnitMultiplier
inproduct-selling-price
to avoid changing the behavior the component. measurementUnit
,hasMeasurementUnit
,unitMultiplier
,hasUnitMultiplier
, andlistPriceWithUnitMultiplier
toproduct-list-price
component.
- Revert changes in
product-selling-price
default message. It was being used by external custom components that didn't provide all translation variables, breaking their code.
measurementUnit
,hasMeasurementUnit
,unitMultiplier
, andhasUnitMultiplier
variables toproduct-selling-price
.
- Take
unitMultiplier
into account in price logic atproduct-selling-price
.
- Now
product-selling-price
default message shows the measurement unit and unit multiplier if available.
percentageStyle
onproduct-price-savings
.
- I18n Ro and Jp.
- Crowdin configuration file.
- Updated documentation (removed link to internal doc).
taxValue
onproduct-selling-price
andproduct-list-price
.
- Support for custom classes.
- Migrate to
[email protected]
.
- App exported types.
- Add
sellingPriceValue
andsellingPriceWithTax
to "product-selling-price-range" block
- Use the first available seller data.
price-suspense
component.
- Hide
Saving
component whenproduct-summary
is loading.
product-seller-name
block.
product-spot-price-savings
component
- Spot price logic from
product-price-savings
since it was causing "0%" to appear as savings on some stores.
- Mocked type definitions from
vtex.product-context
in favor of the actual ones.
- Calculate discounts based on the Spot Price
- Documentation about
product-list-price
.
- Add preventions for negative savings.
message
prop usage and example on documentation
product-installments-list
block.
- Bump dependencies versions.
hasListPrice
onproduct-selling-price
.
- The blocks won't be rendered if there are no available products.
- Improved the
spot-price
documentation to have more details. - Updated the README.md file with a disclaimer regarding the deprecation of Product Summary Price and Product Price block.
- More variables that can be interpolated on the components that can change with taxes.
- Add message variables to docs.
- Missing defaults on
defineMessages
.
- Documentation about
spot-price
by adding a link to the document teaching a store how to set it up.
SpotPrice
component.
sellingPrice--hasListPrice
handle to theselling-price
block if there is alist-price
.
- Bump dependency versions.
undefined
check inInstallments
.
Installments
now renders nothing if there are no installments in a product.
- Issues causing console errors: FormattedNumber used wrongly on Installments and missing Key on some spans.
- Blocks' names on README.
README.md
.
- Some
handlebases
that weren't right.
- Default messages.
ListPriceRange
andSellingPriceRange
component.
- Made
ListPrice
render null if it is the same asSellingPrice
.
- Overall refactor.
- Added translation to some ES and PT messages.
SellingPrice
component.
Installments
component.
Savings
component.
ListPrice
component.