Skip to content

[5.6] Refactor Product and Variant query editability options#4214

Merged
lukeholder merged 7 commits into5.6from
feature/product-query-editable-savable
Feb 18, 2026
Merged

[5.6] Refactor Product and Variant query editability options#4214
lukeholder merged 7 commits into5.6from
feature/product-query-editable-savable

Conversation

@lukeholder
Copy link
Copy Markdown
Member

Description

  • Added craft\commerce\elements\db\ProductQuery::$savable.
  • Added craft\commerce\elements\db\ProductQuery::savable().
  • Added craft\commerce\elements\db\VariantQuery::$savable.
  • Added craft\commerce\elements\db\VariantQuery::savable().
  • Added craft\commerce\elements\db\VariantQuery::editable().
  • craft\commerce\elements\db\ProductQuery::$editable is now nullable.
  • craft\commerce\elements\db\VariantQuery::$editable is now nullable.

In preparation for new permissions view and save permissions we have refactored the auth method in the product and variant queries.

@lukeholder lukeholder changed the title Refactor Product and Variant query editability options [5.6] Refactor Product and Variant query editability options Jan 28, 2026
@lukeholder lukeholder marked this pull request as ready for review February 18, 2026 07:31
@lukeholder lukeholder requested a review from a team as a code owner February 18, 2026 07:31
@lukeholder lukeholder merged commit 4afb758 into 5.6 Feb 18, 2026
@lukeholder lukeholder deleted the feature/product-query-editable-savable branch February 18, 2026 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant