Quickly Create an Array in Shopify's Liquid 2024

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ต.ค. 2024
  • The easiest way to create an array in Liquid.
    Helium has been developing apps for Shopify for over nine years. We're here to help 😊
    A link to our blog:
    heliumdev.com/...
    Subscribe for more Shopify awesomeness!
    Try Customer Fields Free: app.customerfi...

ความคิดเห็น • 3

  • @ramidp
    @ramidp ปีที่แล้ว

    What about an Array with objects? I need that :(

    • @heliumdev
      @heliumdev  ปีที่แล้ว +1

      Bummer 😔 Sadly there’s really not a good way with to build objects in Liquid with Shopify. One way to tackle it is to create a template that outputs JSON and use a fetch request in JavaScript to parse the data.

    • @ramidp
      @ramidp ปีที่แล้ว

      @@heliumdev This really sucks. Hope they can consider to add it .. Thanks anyways!