Developer forum

Forum » Ecommerce - Standard features » OrderPaymentmethodDescription tag not available

OrderPaymentmethodDescription tag not available

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Guys,

I have a situation where I need to display friendly descriptionf for Payment Method and Shipping method from the standard fields of Ledger Items.

Basically, the fields are OderShippingMethodDescription and oderPaymentMethodDescription.

Both fields are standard fields, we are populating them in the Integration jobs.

I have tried listing them in the Invoice Details (we are using Ledger Items for Invoices) but they are not rendered. TemplateTags does not list them and I tried using either 

@GetString("Ecom:Order.PaymentMethod.Description") or @GetString("Ecom:Order.PaymentMethodDescription"). No success.

Is there any reason they ar enot exposed?

Can I access these fields in any other way? Like with API?

Thanks,

Adrian


Replies

 
Nicolai Pedersen
Reply

The fields are used for backend purposes as they contain information from the gateway as I recall. You could use custom order fields instead.

You can access the property on the order object though: http://doc.dynamicweb.com/api/html/d180b80f-aad3-9fcf-a93e-efc223ac6f02.htm

 

You must be logged in to post in the forum