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 at 5:33
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, privacy policy and cookie policy

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