Skip to content

Commit

Permalink
OP-558 - update plugin to Sylius 2 - fix validator in checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
dariusz-rup committed Jan 15, 2025
1 parent 5d6966b commit 062ae3c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions config/validation/Order.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
<class name="Sylius\Component\Order\Model\Order">
<constraint name="BitBag\SyliusBlacklistPlugin\Validator\Constraints\Checkout\CheckoutAddressType">
<option name="message">bitbag_sylius_blacklist_plugin.form.error.cannot_place_order</option>
<option name="groups">bitbag_checkout_address</option>
<option name="groups">
<value>bitbag_checkout_address</value>
<value>sylius</value>
</option>
</constraint>
</class>
</constraint-mapping>
</constraint-mapping>

0 comments on commit 062ae3c

Please sign in to comment.