Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
When looking at, for example, an invoice I notice the 'payment_terms' in the top right, but would like to be able to change these translations. At the moment it's printed as 'Net 7', but I would like to translate this.
The liquid variable is
{{ payment_terms.payment_terms_name }}
Is there an option to do this? I can't find it in the general settings, theme settings (Dawn), language settings or the language related json files.
As example the following screenshot;
Solved! Go to the solution
This is an accepted solution.
So, payment_terms is a read only object field called paymentTerms and is used in the DraftOrder, Order and PaymentSchedule objects and its found in the REST Admin API (legacy since October 1st).
What I did to get the correct string printed/translated:
{% if payment_terms.name == ' Net 7' %}
<p> Binnen 7 dagen na factuurdatum. </p>
{% endif %}
Hope this helps you figuring out your custom solution.
Really looking for this as well
This is an accepted solution.
So, payment_terms is a read only object field called paymentTerms and is used in the DraftOrder, Order and PaymentSchedule objects and its found in the REST Admin API (legacy since October 1st).
What I did to get the correct string printed/translated:
{% if payment_terms.name == ' Net 7' %}
<p> Binnen 7 dagen na factuurdatum. </p>
{% endif %}
Hope this helps you figuring out your custom solution.
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025