Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
How can i get custom product attribute custom_attribute_1 using $product->getCustomAttribute1 .Is camel casing works for numbers?
This does not work:
This does work:
If camel case won't working, you should try with
Use $product->getCustomAttribute_1() for getting custom_attribute_1 value
Required, but never shown