liquid icon indicating copy to clipboard operation
liquid copied to clipboard

Liquid markup language. Safe, customer facing template language for flexible web apps.

Results 289 liquid issues
Sort by recently updated
recently updated
newest added

Adds documentation for `remove_last` and `replace_last` filters [added in 5.2.0](https://github.com/Shopify/liquid/pull/1422). Content is adapted from `remove_first` and `replace_first` filter pages.

If i render ``` {% assign var = "B" %} {% case var %} {% when "A" or "B" %} A or B {% when "B" or "C" %} B...

I have this issue where 'strip_newlines' filter is used, but it doesnt strip the 'LSEP' characters. Should the filter do this? It's shown as "LSEP" by my editor or inspect...

This PR adds an optional limit argument to the `split` filter in Liquid to make it work similar to the Ruby `split` method. Closes #1800

If condition in below code is failing: (Even when the description is blank, it print "About the product" header) {% if product.description != "" and product.description != nil %} About...

Bumps the bundler group with 1 update in the / directory: [rexml](https://github.com/ruby/rexml). Updates `rexml` from 3.2.6 to 3.2.8 Release notes Sourced from rexml's releases. REXML 3.2.8 - 2024-05-16 Fixes Suppressed...

dependencies

In Ruby language, the `split` method accepts an optional limit argument which is handy for the cases in which the user want to split the string into max number of...

As per your [doc mentioned here](https://shopify.dev/docs/api/liquid/objects/line_item#line_item-final_line_price), the total_discount property is deprecated. Also, they have mentioned that it is replaced by line_item.total_discount. So you said previously if it is already deprecated...

Hi guys I have this liquid object that show customer orders, however they are not sorted by 'created_at' attribute. `{%- paginate customer.orders by 16 -%}` How can I sort them?

**Describe the current behavior** When a theme section containing our app block/theme extension is placed directly after a hidden section which contains an app block, liquid data is not correctly...