Skip to content

Inventory min / max, better filters, bug fixes

Compare
Choose a tag to compare
@alfredsgenkins alfredsgenkins released this 19 Dec 15:51
3cedaaf

What's inside

  • Inventory min / max
  • Improved filters

Feature breakdown

Inventory min / max

When adding to cart, the min and max salable quantity is checked. The valid message (not the Internal server error is displayed).

Better filters

The filter is now hidden from page, if it has no results in combination with other filters. The reset button was also added.

Bug fixes

  • Improved the smoothness of applied filters on Category page (achieved with an awesome react-debounce-render. See Important notes for upgrade instructions.
  • When no menu icon was passed, the menu image will now stop showing Image not found.
  • When attribute label is long (it wraps multi-line) it now displays correctly.
  • In checkout, when entering invalid email, it is now does not break the checkout flow.
  • In checkout, when order is completed, the cart is now reset automatically.
  • CMS page when selected as target in MenuManager is now correctly handled on FE

Important notes

  • The new third-party was added: react-debounce-render - it allows for smoother filter apply and category switch. Make sure to install it if upgrading to this version: npm i react-debounce-render.
  • In two places, the default export was changed. Make sure to change from: import Package from ... to import { Package } from .... Those files are: CategoryItemsCount.component.js, ProductList.component.js.
  • The product list placeholder, is now purely declared in CategoryProductListPlaceholder.component.js make sure to change files were it is used accordingly.
  • The CMS pages are requested by identifier no url_key from now.