Skip to content

Fixed a PHP error that would occur when creating or editing a shipping rule#4322

Merged
lukeholder merged 2 commits into
5.xfrom
fix/4321-shipping-rule-condition-variable
Jun 22, 2026
Merged

Fixed a PHP error that would occur when creating or editing a shipping rule#4322
lukeholder merged 2 commits into
5.xfrom
fix/4321-shipping-rule-condition-variable

Conversation

@lukeholder

Copy link
Copy Markdown
Member

The #4313 fix changed _fields.twig to reference condition.builderHtml directly, but ShippingRulesController was still passing the old pre-rendered conditionField string. This passes the condition object instead, matching what ShippingZonesController already does.

@lukeholder lukeholder requested a review from a team as a code owner June 22, 2026 06:07
@lukeholder lukeholder changed the title Fixed #4321: Twig error when creating or editing a shipping rule Fixed Twig error that would occur when creating or editing a shipping rule Jun 22, 2026
@lukeholder lukeholder changed the title Fixed Twig error that would occur when creating or editing a shipping rule Fixed a PHP error that would occur when creating or editing a shipping rule Jun 22, 2026
@lukeholder lukeholder merged commit 154ad6f into 5.x Jun 22, 2026
7 checks passed
@lukeholder lukeholder deleted the fix/4321-shipping-rule-condition-variable branch June 22, 2026 06:08
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