We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

order_number not working

order_number not working

mvalenzuela
Visitor
1 0 0

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!

Reply 1 (1)

SealSubs-Roan
Astronaut
998 73 94

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.

Roan
Please let me know if it works by marking it as a solution!
Seal Subscriptions App, a subscription app for Shopify, with glowing user testimonials and a free plan.