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.
- I18n on readme file.
- Translations for messages related to payments in full.
- German translation.
- Indonesian translation.
- English and Portuguese translations.
hasListPrice
onproduct-selling-price-range
.
- Thai translations.
- French translations.
- Arabic, Norwegian and Norwegian variant translations.
- French translations.
- French translations.
- Pseudo language.
- I18n Bg.
- I18n Es and PT.
- Prop
alwaysShow
to the following blocksproduct-list-price
,product-selling-price
,product-spot-price
,product-spot-price-savings
,product-price-savings
,product-list-price-range
, andproduct-selling-price-range
to render them even when product is unavailable.
- I18n pseudo language to implement in-context tool
installmentsCriteria
andinstallmentOptionsFilter
props toInstallments
component.
paymentSystemName
andinstallmentsToShow
props toInstallmentsList
component.
- CSS handles modifiers to
paymentSystemName
andinstallmentsNumber
handles.
- Crowdin configuration file.
- I18n Fr, It, Nl and Ko translations.
- Crowdin config. file
- Changelog
- New variable
hasMoreThanOne
in the Installments Renderer for ICU messages, aiding in the creation of custom messages.
- Prop
minimumPercentage
onproduct-price-savings
.
- Use
sellerDefault
to get the default seller and fallback to first seller.
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
vtex.css-handles@1.x
.
- 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.