Skip to content

Magebrew blog

posts about Magento development

  • Store

Tag: attribute

Posted on June 11, 2021September 5, 2021

Update validation rule for customer address attribute in Magento 2

Validation rules for customer address attributes are stored in customer_eav_attribute table. Below is example of how to adjust a rule for specific attribute. Let’s say we want first name to be minimum 3 chars long. It is done via data patch.

Continue reading “Update validation rule for customer address attribute in Magento 2”

Recent Posts

  • Configure xDebug on remote docker container
  • Update validation rule for customer address attribute in Magento 2
  • How to debug Magento 2 MySQL (SQLSTATE) errors
  • Class “Yandex\Allure\Adapter\AllureAdapter” does not exist – error in Magento
  • Magento 2 customizable options – allow any file upload via Rest API

Categories

  • magento
  • magento 2
Proudly powered by WordPress