0

How to Hide/Show Customer attribute when the customer group is switched from general to the wholesale group?.

enter image description here

1
  • any solution..?
    – Devidas
    May 31, 2021 at 5:33

1 Answer 1

0

For doing this, firstly you have to create a component for Customer group.

With "initialize" function, you can check the value on page load. If group is "Wholesale", then show the attribute else keep it hidden.

For detecting change event, "onUpdate" function will be used. You can show the attribute using jQuery after detecting the value.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.