Questions tagged [liquid-template]

Liquid is an open-source template language created by Shopify and written in Ruby. It is the backbone of Shopify themes and is used to load dynamic content on storefronts. This tag should be used for questions relating to Liquid templating systems (for example interactions between Shopify's theme template files). Use the related [liquid] tag for generic liquid questions.

Liquid is a templating engine for creating web pages. From the Liquid website:

Liquid is an extraction from the e-commerce system Shopify. Shopify powers many thousands of e-commerce stores which all call for unique designs. For this we developed Liquid which allows our customers complete design freedom while maintaining the integrity of our servers.

Liquid has been in production use since June 2006 and is now used by many other hosted web applications.

It was developed for usage in Ruby on Rails web applications and integrates seamlessly as a plugin but it also works excellently as a stand alone library.

Liquid has been in production use at Shopify since 2006, and is also used as the main templating engine on GitHub pages through the Jekyll static site generator.

57 questions
0
votes
1 answer

Azure APIM : Convert JSON Response to Customized XML Format

I have a requirement where I want to convert the JSON response , which is an array of object , to the customized XML format , so that my already existing code can parse it. I know there is a Azure Transformation Policy named , but…
Harmandeep Singh Kalsi
  • 3,315
  • 2
  • 14
  • 26
0
votes
0 answers

Liquid template - Differentiate between null and empty nodes

I am using liquid template in my LogicApp for data transformation. I need to differentiate if a json node is empty, null. So in json if i have "Name":"" "Name":null , then I need to differentiate between them. I observed that all the below 3…
techresearch
  • 119
  • 3
  • 14
0
votes
1 answer

How to convert JSON to XML using Integration Account or Liquid Templates in Azure Logic Apps?

Are there any concrete examples where a JSON file is converted to XML using an Integration Account? I specifically want to have influence over the the transformation so a direct @xml(..) is not an option.
Jay
  • 189
  • 4
  • 12
0
votes
1 answer

Not able to get value from custom table in PowerApps portal

I had created a custom table(entity) in dataverse of power app portal and added some dummy data. Table name is "TestTable" and created a column "TestColumn". I am trying to get data from this in powerapps portal using liquid…
Harsh Bhavsar
  • 192
  • 2
  • 10
0
votes
1 answer

Liquid Template - Unable To Modify Jekyll Carousel Script

I'm using the Jekyll framework and using the official Carousel script from their website (https://jekyllcodex.org/without-plugin/slider/) and I'm struggling to figure out how to make it possible to pass a name to the carousel.html script so that I…
0
votes
1 answer

Liquid template to get XML node and child nodes xml as it is to json format

I am trying Liquid template to convert XML to Json with some transformation. I have sample XML as shown below Sample XML: abc 15 dd dd
techresearch
  • 119
  • 3
  • 14
0
votes
1 answer

unable to parse soap response using Azure API Management liquid template

I want to change the output format of the soap response, before passing it onto the client. I am using the soap pass-through as specified in the documentation https://azure.microsoft.com/en-ca/blog/soap-pass-through/ Soap service used in this…
Nishank
  • 159
  • 1
  • 11
0
votes
1 answer

Parsing JSON to JSON in Liquid Template using for loop. How to iterate through lists in JSON using Liquid Template?

{ "SAP": [ {% for Record in content %}{ {% assign res = Record.d['results'] %} "SSO ID": "{{ res[0].username }}" }, {% endfor %} ] } Using this - i am only able to get username field of the first…
Utsab
  • 159
  • 2
  • 4
  • 12
0
votes
1 answer

Email Liquid Templates - Split string and show string[index] inline

I am currently working with liquid templates and I have a string that has a pipe delimiter |. How would I be able to split this string and display the specific string one I want? I figured out how to split the string: {{ "Cookies | Biscuits" |…
BLSG
  • 21
  • 5
0
votes
1 answer

Iterate array object in liquid template

I have a problem when my Liquid template iterate in array object. I want to transform an input json into another output json. It is my Liquid Template: {% assign clientList = Clients.value %} { "value": [ {% for client in clientList %} …
0
votes
3 answers

Liquid template transformation is not working in Azure Logic app

I am trying to perform json -> json transformation using the logic app. below is the logic app code. transformation is not working as expected. not sure what is the problem. I have tested the templated in the online liquid sandbox, where I didn't…
user155489
  • 143
  • 12
-1
votes
1 answer

Why does my Shopify image and video gallery section not work?

I'm trying to build my first custom section for Shopify by following a tutorial on Skillshare. I have followed as closely as possible, and was able to get the images and settings to appear in the theme's customizer. However, since attempting to add…
1 2 3
4