github spree/spree v5.6.1

3 hours ago

Searchable and sortable Metafields

984_1x_shots_so

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

Full documentation

#14353 contributed by @ifizza

Other Changes

Core

Store API

Admin API

Admin

Installation

npx create-spree-app@latest my-store

Updating

npx spree bundle update && npx spree migrate

Feedback / Support

Join our Discord server to chat with Spree core team members and other Spree developers!

Full Changelog: v5.6.0...v5.6.1

Don't miss a new spree release

NewReleases is sending notifications on new releases.