Skip to content

v0.3.0

Compare
Choose a tag to compare
@lauraluiz lauraluiz released this 20 Jan 17:17
· 1162 commits to master since this release

Features

  • Displays mini-cart contents and price calculation, plus it allows to remove line items directly from the mini-cart.
  • Displays all possible attributes for the current product variant and disables those combinations that are not available.
  • Allows to add to the cart the selected product variant.
  • Enabled basic language switcher that redirects to home page.
  • Enabled country switcher that saves country in session and redirects to home page.
  • Disabled country selection for shipping address in checkout process, to force country selection only globally.
  • Enabled "new products" link in home page.
  • Enabled full-text product search.

Configuration

  • Provided I18nResolver interface, along with implementations YamlI18nResolver (to read from YAML files) and CompositeI18nResolver. Default injected configuration reads i18n messages from the YAML files located in sunrise-design webjars, which can be overriden by local YAML files.
  • Fetches available languages, countries and currencies from CTP project, but allows to override them through configuration.
  • Possibility to enable Handlebars caching through configuration.

Technical

  • Improved structure and code quality from product-catalog and shopping-cart modules.
  • Updated sunrise-design template to v0.45.0
  • Updated to Commercetools JVM SDK M26