Price doesn't display in collection page

Price doesn't display in collection page

TBS2023
Shopify Partner
298 1 37

Hello

Some of my products have variants - however the price of these doesn't display on the collection page

https://the-body-shop-nordic.myshopify.com/collections/most-loved

 

 

TBS2023_0-1728025589122.png

 

https://the-body-shop-nordic.myshopify.com/

ubahdo

Replies 6 (6)

goldi07
Trailblazer
158 11 16

hello @TBS2023 

I have checked, I have not entered my price. You enter the price of these products first, then it will show.

If this was helpful, hit the like button and accept the solution.
Thanks

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -Goldi184507@gmail.com - Skype: live:.cid.819bad8ddb52736c -Whatsapp: +919317950519
Checkout Some Free Sections Here
TBS2023
Shopify Partner
298 1 37

but the price is entered

 

TBS2023_0-1728029860821.png

 

Vinsinfo
Shopify Partner
489 165 169

@TBS2023 We have checked the "Impulse" theme. It seems the code of that section has been altered by some app's code or custom code. To locate the code of that section, search for the code "grid-product__price" in the theme code by opening the theme code in any text editor. Kindly compare and check the code of that section with the previous themes that is before making those changes, or else share the code of that section to check and help you on this. Kindly find the below attached screenshots of the impulse theme code and your store code for reference.

 
Impulse theme code:
Vinsinfo_2-1728054223890.png

 

 

Your store theme code:
Vinsinfo_1-1728054053061.png

 

 
Please provide your support by click "Like" and "Accepted" if our solution works for you. Thanks for your support.
Please reach out to bizdev@vinsinfo.com for any enquires related to Shopify.
Our Services: Custom Theme Development, Theme Customization, Custom Feature Implementation, Data Migration, Custom APP Development, Website Optimization and Google Merchant Center Support
TBS2023
Shopify Partner
298 1 37
 <div class="grid-product__price">
          {%- if on_sale -%}
            <span class="visually-hidden">{{ 'products.general.regular_price' | t }}</span>
            <span class="grid-product__price--original">{{ product.compare_at_price | money }}</span>
            <span class="visually-hidden">{{ 'products.general.sale_price' | t }}</span>
          {%- endif -%}
          {%- if product.price_varies -%}
            {%- assign price = product.price_min | money -%}
            {{ 'products.general.from_text_html' | t: price: price }}
          {%- else -%}
            {{ product.price  | money }}
          {%- endif -%}
          {%- if on_sale -%}
            {%- if settings.product_save_amount -%}
              {%- if settings.product_save_type == 'dollar' -%}
                {%- capture saved_amount -%}{{ product.compare_at_price | minus: product.price | money }}{%- endcapture -%}
              {%- else -%}
                {%- capture saved_amount -%}{{ product.compare_at_price | minus: product.price | times: 100.0 | divided_by: product.compare_at_price | round }}%{%- endcapture -%}
              {%- endif -%}
              <span class="grid-product__price--savings">
                {{ 'products.general.save_html' | t: saved_amount: saved_amount }}
              </span>
            {%- endif -%}
          {%- endif -%}

          {%- assign product_variant = product.selected_or_first_available_variant -%}
          {%- if product_variant.unit_price_measurement -%}
            <div class="product__unit-price">
              {%- capture unit_price_base_unit -%}
                {%- if product_variant.unit_price_measurement -%}
                  {%- if product_variant.unit_price_measurement.reference_value != 1 -%}
                    {{ product_variant.unit_price_measurement.reference_value }}
                  {%- endif -%}
                  {{ product_variant.unit_price_measurement.reference_unit }}
                {%- endif -%}
              {%- endcapture -%}

              {{ product_variant.unit_price | money }}/{{ unit_price_base_unit }}
            </div>
          {%- endif -%}

<div class="th_wl_col_btn" data-product_id="{{product.id}}" data-variant_id="{{product.selected_or_first_available_variant.id}}"></div>
          
        </div>
      </div>
TBS2023
Shopify Partner
298 1 37

Is there something i need to change in my code?

Vinsinfo
Shopify Partner
489 165 169

@TBS2023 We have checked your store URL now, it seems the issue you mentioned has been resolved. Kindly reach out to us if you have any other queries in the future.

Please reach out to bizdev@vinsinfo.com for any enquires related to Shopify.
Our Services: Custom Theme Development, Theme Customization, Custom Feature Implementation, Data Migration, Custom APP Development, Website Optimization and Google Merchant Center Support