Hi
variable order_number give me code id not order number. please help me, the number correct not is code id on data base.
liquid.
thanks!
A user encountered an issue where the order_number variable was returning a database ID instead of the expected customer-facing order number in their Liquid template.
Solution provided:
{{ order.name }} instead of {{ order.id }} or {{ order_number }}order.name displays the user-readable order number (e.g., #1001)order.id returns the internal database IDThis resolves the issue by providing the correct customer-facing order number format.
Hi
variable order_number give me code id not order number. please help me, the number correct not is code id on data base.
liquid.
thanks!
Hi @mvalenzuela
In Liquid, use {{ order. name }} instead of {{ order. id }} or {{ order_number }}. order. name ; user-readable order number (e.g. #1001) while order. id is the internal database ID. This will show the right number of customers and traders that are supposed to be shown.