Magento Expert Forum - Improve your Magento experience

Results 1 to 4 of 4

how to disable validation ?

  1. #1

  2. #2
    New member
    Join Date
    Jan 2017
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    don't like to bump, but BUMP.
    Thank you.

  3. #3
    Junior Member aishwaryaV's Avatar
    Join Date
    Sep 2018
    Location
    Noida, India
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi. I would be able to provide you the right solution if you provide me with the right question. Which platform you have used to create your site. I am currently working on WooCommerce so I can tell code for that only.

    if( true ){ // pass conditional statement here
    unset($fields['billing']['add_house_name']); // remove field
    $fields['billing']['add_building_name']['required'] = false; // remove required validation
    }
    return $fields;

    Hope it works for your store.

  4. #4
    Junior Member
    Join Date
    Nov 2018
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I have read your article, I find the content quite interesting and detailed, I hope in the near future, you will have more good and meticulous articles to give readers deep insight. More on this issue, Thank you for sharing this article.
    candy crush soda

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •