Skip to content

Magento 2: Pass custom product attribute to a custom javascript file

I am currently struggling with accessing a custom product attribute in my custom javascript file. I could not find any documentation, tutorial or anything else on how to do it. I would really appreciate if someone helps me out. Thank you!