Discussions
How do I reference custom field data for handlebars
Hello Everyone,
I am currently in the process of making our site category more compatible. I am currently creating "other record fields" onto my Commerce Categories.
I need to create statements to display the category is certain way
{{#if PrimaryCat}}
<!-- use primary cat code -->
{{/if}}
{{#if SeriesCat}}
<!-- use series cat code -->
{{/if}}
{{#if SeriesComp}}
<!-- use series component cat code -->
{{/if}}
I am new to coding in SCA, this has been a learning curb for me.
How and Where would I go to create the built-in helpers for this?
I am referencing data by reading through handlebarsjs.com. However, I need to know how I can pull my custom field values.