give me cheatsheet of shopify variables I can use for liquid like date, order date, etc
- User
give me cheatsheet of shopify variables I can use for liquid like date, order date, etc
Assistant
Sure, here are some of the more common variables that you can use in your shopify liquid code:
- Date: date
- Current date: now
- Order date: order.date
- Product name: product.name
- Price: price
- Shipping price: shipping.price
- Total price: price + shipping.price
- User
best headphones
Assistant
Sure, here are some good choices for headphones:
- Bose QuietComfort 35
- Audio-Technica ATH-M50x
- Sony WH1000X
- User
liquid date formats
Assistant
Here are some examples of date formats in Liquid:
- {{ date | date: "%-d %B %Y" }}
- {{ date | date: "%-d %b %Y, %I:%M %p" }}
- {{ date | date: "%A, %d %b %Y" }}
- {{ date | date: "%B %Y" }}
- {{ date | date: "%-d %b %Y" }}
Note that the format of the date string depends on the format of the date variable. If the date variable is not in the correct format, you may need to convert it first using the date filter.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.