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.
- 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.