prices not being shown.

Topic summary

A user reports that product prices are not displaying on collection pages in their Debutify theme store.

Initial Support Response:

  • Support team (DaisyVo) provides code snippet to add to snippets/card-product.liquid file
  • Code handles cases where product price equals zero and displays variant prices
  • Includes screenshots for reference

Implementation Challenge:

  • User cannot locate the suggested snippets/card-product.liquid file in Debutify theme
  • Instead finds product-grid-item file with different existing price display code
  • This file contains conditional logic for showing prices with B2B integration elements

Resolution:

  • User resolves issue independently by removing a specific condition from their existing code
  • Specifically removed the {%- if show_product_price -%} opening tag and its corresponding closing tag {%- endif -%}
  • Prices now display correctly on collection pages

Status: Resolved through user’s own troubleshooting, though the root cause appears to be a conditional statement preventing price visibility rather than missing price code.

Summarized with AI on November 3. AI used: claude-sonnet-4-5-20250929.

Hi, I am using debutify theme in my store. Everything else is working fine but prices are not being shown on my collection pages. Can anyone please help with it?
https://kratomwarehouse.com/collections/edibles

1 Like

Hi @ShuneedMughal

I hope you are well. You can follow our instructions below:

Step 1: Find “snippets/card-product.liquid” file from your theme code

Step 2: copy the code below and adđ it there

  • Code:
{% if card_product.price == 0 %}
              Price:
                {% assign free = true %}
                 {% for item in card_product.variants %}
                  {% if item.price == 0 %}
                    {% continue %}
                  {% else %}
                    {{ item.price }} 
                    {% assign free = false %}
                    {% break %}
                  {% endif %}
                {% endfor %}
                {% if free %}
                  FREE
                {% endif %}
              

            {% else %}
              Price: {{ card_product.price }}

            {% endif %}
  • Here is the screenshot for your reference:

Please let me know if it works. Thank you!

Best,
Daisy - Avada Support Team.

I found a code snippet file named product-grid-item and this code was there, can you tell which changes I should make?
{%- if show_product_price -%}

{%- if product.price_varies and empty_state == false -%} {{ product.price_min | money }} + {%- else -%} {{ price | money }} {%- endif -%} {%- if is_on_sale -%} {{ compare_at_price | money }} {%- else -%} {%- endif -%}

Hi @ShuneedMughal

The code I shared is a bit different, please adjust our code at the bottom of the file “snippets/card-product.liquid”.

Best,
Daisy - Avada Support Team.

There isn’t a “snippets/card-product.liquid” in debutify theme.

I had to remove this condition from the code and price started being displayed again.

Tag: {%- if show_product_price -%}
Closing tag: {%- endif -%}