Original product price must display for unlogged in customers on discount product

Hi,

On my shopify store, on a product page when a member is logged in they’re able to see the discount and original price simultaneously but when for unlogged in members they do not see the original price, they only see the discounted price, how can I make these unlogged in members also see both the discount and original price simultaneously?

Please reference screenshots for more clarification.

  1. Not logged in customer : https://tinypic.host/i/not-logged-in.fWAFC

  2. Logged customer: https://tinypic.host/i/logged-in-as-active-member.fWLVS

Thanks in advance

Hi @sizweWB ,
In screenshot, its not clear that what is actual code for that. It will require to check code
can you please share screenshot of code for price?

You should check your source code there and allow display the original price for members who unlogged in.

Hi Jivan,

The below is the code in the product-template.liquid for displaying price,

   
   

        {{product.price | money}} 
       
   

Thanks

Solution: I duplicated the product-form.liquid and named it product-form-unlogged.liquid and then replaced the above code with {% include ‘product-form-unlogged’ %}. I then customized the code in product-form-unlogged.liquid (in my case, I removed the cart button)