This release includes a new Channel Price List Rule and a number of fixes and improvements!
Channel Price List Rule
Introduce Spree::PriceRules::ChannelRule so price lists can target specific sales channels, alongside the existing customer-group, market, volume and user rules. The pricing context now carries the current channel (sourced from the order or Spree::Current), letting the rule match the channel an order is attributed to.
Other Changes
Core
- Use default flag instead of code to resolve the store's default channel 878c46c
Store API
- Fix injecting serializers as an association in another serializer 1724233
- Cart update: Add warning on shipping rates deletion 2f07ae1
- Fixed Admin Countries AP N+1s 0a3de7e
Admin
- [Admin product page] Add permission to publishing section - e2d11b5
- Fix flaky VariantsController#search spec on unordered LIMIT 76b5e91
Installation
npx create-spree-app@latest my-storeUpdating
npx spree bundle updateFeedback / Support
Join our Discord server to chat with Spree core team members and other Spree developers!
Full Changelog: v5.5.0...v5.5.1