Remove price display for products with no pricing in Online Store (2022 themes)
In this article:
- Remove price display on the product listing
- Remove price display on the product page
- Set the product price to “0” to take effect
1. Remove price display on the product listing
Step 1: Go to EasyStore Admin Panel > Channels > Online Store > Edit source
Step 2: On the left panel, look for snippets > product-card.liquid > add this code {% if product.price > 0 %}
above {% include 'price' %}
Step 3: Add {% endif %}
before </div>
and save
Before:
After:
2. Remove price display on the product page
Step 1: Go to EasyStore Admin Panel > Channels > Online Store > Edit source
Step 2: On the left panel, look for sections > main-product.liquid > add this code {% if product.price > 0 %}
above <div id="price">
Step 3: Add {% endif %}
after </div>
and save
**
**
**
Before:
After:
3. Set the product price to “0” to take effect
Updated on: 03/11/2023
Thank you!