SuiteReferral Program
Advocate for NetSuite and Get Rewarded.

Discussions

Check out Oracle NetSuite upcoming events and conferences here
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Update your Profile with your Support type to get your Support Type badge.
SuiteWorld Las Vegas is sold out! Don’t miss your chance to attend On Air. Let SuiteWorld come to you!
Register for On Air. It’s priceless. (Seriously, it’s free!)

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 3 (Jul-Sept 2023)

This Week's Leaders

This Month's Leaders

All Time Leaders