If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Shopify. How to comment out the liquid code

We are glad to present you a tutorial that will show you how to comment out liquid code in Shopify.

Shopify. How to comment out the liquid code

In order to comment out the liquid code, you should perform the following steps:

  1. Log into the Shopify Admin with your login credentials.

  2. Navigate to Online Store -> Themes:

    Shopify.-How-to-comment-out-liquid-code1

  3. Click on three bold dots and choose ‘Edit HTML/CSS’:

  4. Select the liquid file from the left sidebar and click on it.

  5. In order to comment out the needed part of the code, put the {% comment %} tag before needed code and {% endcomment %} tag after it.

  6. Then click ‘Save’ at the top right:

    Shopify.-How-to-comment-out-liquid-code3

Now you know how to comment out liquid code in Shopify.

Feel free to check the detailed video tutorial below:

Shopify. How to comment out the liquid code