Order Template Variable Descriptions

Comments

3 comments

  • Avatar
    Jason Brusse (d)

    The Packing Slip variable is not correct.

    Should be {{ shipment.ship_date | date: "%d/%b/%Y" }}

    0
    Comment actions Permalink
  • Avatar
    Tom Scharstein

    This page is pretty hard to use unfortunately. These aren't in alphabetical order or grouped by parent variable so I have to skim the entirety of each section and search for anything that has "order." to see what properties are exposed per parent object, I don't have any indication of typeof data and what I'm expecting (whether this is a number, string, array of strings, etc), it says variables are scoped per template but then only goes on to define some of the templates and not all like Order Slip (should I  assume this is the same as Order? The phrasing makes it sound much more strict than that), it's missing several ones that are contained in default templates for ones like Order Slip such as main_items_except_dividers and workflow_items_sorted_by_size.

    0
    Comment actions Permalink
  • Avatar
    Lee Prazner

    Hi Tom Scharstein

    Thanks so much for taking the time to write this up. Your feedback is really helpful. We know the current template variable descriptions page is harder to use than it should be, and we’re already working on an improved version of the document.

    0
    Comment actions Permalink

Please sign in to leave a comment.