Skip to main content

Liquid Base

###Technical support cần tự tìm hiểu cách đọc liquid từ Shopify và hiểu cách xử lý liquid từ code trong theme của Store, dưới đây là các article cần tìm hiểu để xử lý được template của app PDF Invoice

Order Attributes: có thể lấy các attribute từ order của Shopify theo các object list ở đây https://shopify.dev/api/liquid/objects/order

Filter Liquid Code: Sử dụng để thao tác xử lý value của biến liquid https://shopify.dev/api/liquid/filters

Configuration & template variables: Variable setup ở trong Settings, Template

  1. Configuration: Những variable sẽ được set ở settings xem ảnh VD: {{ configuration.logo }}, {{ configuration.logoWidth }}

  2. Template: Variable sẽ được set trong template

    xem ảnh

    VD: {{template.formatDate }}, {{ template.isOrderNumber }}