Developer forum

Forum » Templates » Get the value of custom order fields

Get the value of custom order fields

Søren Bremholm Jakobsen
Reply

Hi,

I'm trying to get the value of custom order fields displayed in the cart. Have tried the following in the JSON feed but the tags returns the input field:

feedRoot.reference = GetString("Reference");
feedRoot.requisitionNo = GetString("RequisitionNo");

Have also tried .Value and .Clean.

What's the tag to get the value returned?

 


Replies

 
Nicolai Pedersen
Reply

Try using @TemplateTags() in your template - or @TemplateTags("reference") to search for tags with that string in it.

BR Nicolai

 

You must be logged in to post in the forum