Searchable and sortable Metafields
Metafields can now be used as filters and sorters in both Store API and Admin API. This allows for more customization and flexibility without touching Spree core code. It works with both Database provider and Meilisearch!
GET /api/v3/store/products?q[cf_custom_material_i_cont]=wool
GET /api/v3/admin/products?q[cf_custom_weight_gteq]=3.5
GET /api/v3/store/products?sort=-cf_custom_weight
Other Changes
Core
- Auto-enable the storefront wholesale portal on sample-data scaffolds by @damianlegawiec in #14354
- Require storefront-visible payment methods for setup task by @damianlegawiec in #14355
- Make storefront_access preference nullable to inherit store default by @damianlegawiec in #14360
- Fix backfill_product_tag_tenants rake task by @KacperMekarski in #14366
- Refactor
ImportRunneralso added option to run imports inline by @damianlegawiec in #14367 - Add ability to skip publishing events in Import by @damianlegawiec in #1436
Store API
- Expose
product_idand Product at Wishlist Item API by @damianlegawiec in #14361 - Fix store credit card scope by @laaichiu in #14362
Admin API
- Add storefront gating preferences to Channel API by @damianlegawiec in #14356
typeon imports and exports is now the API shorthand ("products",… by @damianlegawiec in #14363
Admin
- Add addresses table to customer page in admin dashboard by @KacperMekarski in #14352
- Add ability to download import template/example CSV in admin UI by @damianlegawiec in #14364
Installation
npx create-spree-app@latest my-storeUpdating
npx spree bundle update && npx spree migrateFeedback / Support
Join our Discord server to chat with Spree core team members and other Spree developers!
Full Changelog: v5.6.0...v5.6.1