I have create a custom attribute for a product. The attribute name is “hide”
When product load at product detail page, if it get the product custom attribute is “hide”, it will apply a css to hide certain class label in the product details page.
If I want to build this as a custom module, what is the proper way to do it?
anyone can give me samples or reference that I can follow?