ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 1 reply, has 1 voice, and was last updated by mlozynskyy mlozynskyy 1 week, 5 days ago.

  • Creator
    Topic
  • #39091
    mlozynskyy
    mlozynskyy
    Participant

    Hello,
    How can I remove or change validation for Product SKU?
    I have tried to override:
    orocommerce/vendor/oro/commerce/src/Oro/Bundle/ProductBundle/Resources/config/validation.yml
    by bundle inheritance But JS validation left after.
    I need to remove that line for sku validation:
    – Oro\Bundle\ValidationBundle\Validator\Constraints\AlphanumericDashUnderscore: ~

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #39104
    mlozynskyy
    mlozynskyy
    Participant

    I have done it by
    1) creating own validation.yml
    2) Adding to a elements own validate group (except SKU)
    3) Overriding FORM by FORM extension and set only my validation group for the form.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.