The Product Price did not appear on (Single Product) - Warehouse Theme

Hi, I have a problem. First of all, I’m using a Warehouse Theme. As you can see in the image below, The product price didn’t appear and it happened only on the Single product page which doesn’t have any variant. Can anyone provide a solution for this? Thank you very much.

Here I provide the site link

https://herbaworks-com-my.myshopify.com/

https://herbaworks.com.my/

1 Like

@Fariss

oh sorry for that issue did you add recently apps or any third party code that was create issue

Hey @Fariss

Thanks for the screenshot and for letting us know which theme you are using! They are very helpful pieces of information.

That does indeed seem odd that the product price would be missing like that. I can confirm that the exact same thing is happening on my side, so this is unlikely to be a localised issue with your setup.

Is this only happening on single variant products? When did this issue start happening? As @KetanKumar mentioned, have you recently made any changes to the theme code? Any code edits, or apps being installed/uninstalled could potentially cause issues such as this.

You could try to roll back to an older version of your theme. That might help you revert back to a time when the theme was working OK. I would always recommend making a duplicate backup copy of your theme before making any changes.

You can also try reaching out to the theme developers for support. This theme is designed and supported by Maestrooo - you can use this link here to contact them. Please keep in mind that theme developers cannot always support any custom code editing that may have caused an issue. However, they can work with you to determine if this is supported by them.

1 Like

Hi @Fariss ,

Please go to product-info.liquid file, find ‘product.form.price’ and change code here:

Code:

{%- if wcp_v_price != blank -%}
              
                {%- if wcp_v_compare_at_price > wcp_v_price -%}
                  {{ wcp_v_price | money_without_trailing_zeros }}
                  {{ wcp_v_compare_at_price | money_without_trailing_zeros }}
                {%- else -%}
                  {{ wcp_v_price | money_without_trailing_zeros }}
                {%- endif -%}
              

            {%- else -%}
              
                {%- if selected_variant.compare_at_price > selected_variant.price -%}
                  {{ selected_variant.price | money_without_trailing_zeros }}
                  {{ selected_variant.compare_at_price | money_without_trailing_zeros }}
                {%- else -%}
                  {{ selected_variant.price | money_without_trailing_zeros }}
                {%- endif -%}
              

			{%- endif -%}
1 Like

Thank you for your concern @Rick_14 @KetanKumar . The problem has been solved :blush: .
There’s a problem with the code - (product-info.liquid.) and I ask for litExtension to help me. It working well now.

1 Like

Hi @Fariss

That is great to hear! Thanks for replying to let us know you managed to get this issue resolved.

Many folks are usually keen to lend a hand here on the Community Forums, so I am glad to see that @LitExtension helped you identify the code issue.

In the future, if you are ever having difficulty with bugs such as this - also reaching out to the relevant theme or app developers will be a good idea. They are the ones who developed and support their apps/themes and so they know the code inside out!

Another route you could take (if the issues are unsupported by the developers) is hiring a Shopify Expert to help you out. Shopify Experts are trusted freelance developers who you can hire to troubleshoot and customize many aspects of your Shopify store.

I noticed you are selling health supplements and cosmetics on your store. I think your storefront looks great and you have included some excellent content! Here is a blog post on health eCommerce that you might find interesting! It gives loads of examples of other very successful stores, and how they are selling to their customers.

1 Like

Hi @Rick_14 . Thanks for the tips. Usually, I will ask the theme developer first, but mostly they can’t help with custom code as they say it out of their expertise. That’s why I try to ask in the community since I can’t afford to hire an expert :sweat_smile: .

1 Like