Category "liquid"

How to add custom css to section in shopify

I am trying to add a custom css to my shopify section. I have created a css file in asset folder called test2.css: .body { background-color: lightgrey; colo

Date comparison Logic / in Liquid Filter

I'm trying to add 30 days to a pre-order date and if today's date is later, display a text string and if not display another text string. Any ideas where I'm go

Convert accent characters to normal characters in Liquid

For instance name = Florian Müllner, want name to be Florian MUllner How to covert name with accented characters in Liquid? Read the replace doc, but was n

Add custom multi-image section in Shopify

I'm trying to add a custom section in Shopify to allow the user to upload 2 promotional images. I'm a novice but I managed to create a custom section for 1 imag

Azure Logic App - order CSV by specified column

I have a Logic App in Azure, which has a 'Create CSV table' step. The input to the 'Create CSV table' step comes from a preceding 'Liquid Transform JSON' step.

Liquid::SyntaxError with Plotly in Markdown files using Jekyll

Trying to convert an .ipynb notebook to Markdown that contains Plotly charts for use in a Jekyll site (hosted on GitHub Pages). I'm running into this error: Liq

How to check for the existence of an element in a Liquid array (Shopify) without using join

I want to check for array values in an array created from a "split". Is there a way to do it without doing the following: {%- assign blog_tags_string = blogs.n

Custom variant input on Add to cart button

I have a product that has 3 variant colors. I'm trying to add a custom add to cart button that's linked to a variant selector Here's the code of my Add to cart

Shopify metafield newline_to_br adds line break on anchor tag

I've added a multi-line metafield to my collections so that I can insert a long description into my template. The code works well, but if there's an anchor tag

Date comparison Logic / in Liquid Template Filter

I'm attempting to create a "Pre-Order" Like mechanic where certain elements of my Shopify Liquid Template only show if the current date is more or less than the

How can I use a Shopify app proxy within a product page? [closed]

Essentially we want on our Shopify product pages to show a button to a logged-in customer. That button would use our app to then call an exte

Loop to build table using Liquid

I have seen in the documentation of Liquid which is exactly what I need but using it to build HTML emails so I need to add inline styles on parts of the HTML li

Loop to build table using Liquid

I have seen in the documentation of Liquid which is exactly what I need but using it to build HTML emails so I need to add inline styles on parts of the HTML li

Get an array of product.id that are in the cart

I'm trying to cycle over all my product.id in my cart. I have a various product with the same product.id but different line_item. Example: line.item[1]: produ

Locale specific date in jekyll

I am trying out jekyll for website creation. I am using jekyll-bootstrap. The default configuration has the page archive, where all the posts are listed group

What is the shortcode to pull the account page urls through without the anchor tags?

I am building a theme and require the links to the log in / log out / register pages but don't want the classic shortcode. I simply want the URL nothing else. H