Skip to content

v1.1.0

Choose a tag to compare

@nmarquev nmarquev released this 03 Mar 21:10
· 7 commits to main since this release

Changes

  • Customer group filtering: Sales disable can now target specific customer groups via multiselect in admin config. Leave empty for backward-compatible "all groups" behavior.
  • Show Only After Login: New checkbox for banner and modal — only displays to logged-in customers whose group is restricted. Prevents confusing guests who may belong to unrestricted groups.
  • Guest special case: When "Not Logged In" group is restricted, add-to-cart button stays visible but server blocks the action with an error message (since we can't identify the customer before login).
  • All 4 server-side plugins (Cart Add, Quote AddProduct, API CartItemRepository, Checkout) now check customer group.
  • New JS component (disable-sales-group-filter.js) handles client-side visibility via Magento customerData for FPC compatibility.
  • New CustomerGroup source model for admin multiselect.
  • Added Magento_Customer module dependency.
  • Spanish translations for new config fields.