Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Why is the price displaying twice on my product pages?

Solved

Why is the price displaying twice on my product pages?

ClareLow
Visitor
2 0 0

Hi there, 

 

I have migrated to a new theme and now on my product pages my prices are showing up twice, I can't seem to find anywhere in the code to remove anything that is duplicated. 

 

my site is okaydoodle.com

 

any advice?

Accepted Solution (1)

infoatcodelab7
Shopify Partner
593 141 155

This is an accepted solution.

@ClareLow 

For show price only once then you need to make some changes in code in price snippet.

to change code follow this steps :

1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Snippet > price.liquid and find this code :

you can find your code goes like this

 

<span class="price-item price-item--regular">
 {{ product.price | money}}
 <span class="money">{{ product.price| money }}</span>
</span>

 

then you need to change code like this

 

 <span class="price-item price-item--regular"> {{ product.price | money }} </span>

 

and that's all. your issue will be solved.

 

Best Regards !

Want to modify or develop new website, Hire us.
If helpful then please Like and Accept Solution .
Email: info@codelab7.com

View solution in original post

Replies 9 (9)

infoatcodelab7
Shopify Partner
593 141 155

@ClareLow 

Kindly share your price snippet code.

So i can check and help you to solve your issue !

 

Want to modify or develop new website, Hire us.
If helpful then please Like and Accept Solution .
Email: info@codelab7.com

infoatcodelab7
Shopify Partner
593 141 155

This is an accepted solution.

@ClareLow 

For show price only once then you need to make some changes in code in price snippet.

to change code follow this steps :

1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Snippet > price.liquid and find this code :

you can find your code goes like this

 

<span class="price-item price-item--regular">
 {{ product.price | money}}
 <span class="money">{{ product.price| money }}</span>
</span>

 

then you need to change code like this

 

 <span class="price-item price-item--regular"> {{ product.price | money }} </span>

 

and that's all. your issue will be solved.

 

Best Regards !

Want to modify or develop new website, Hire us.
If helpful then please Like and Accept Solution .
Email: info@codelab7.com
ClareLow
Visitor
2 0 0

Brilliant thanks!

 

Yaman1
Tourist
5 0 0

Hi Infoatcodelab7,

I have the same problem, only in one of the collections and in the home page in -featured collection-

I opened price.liquid 

and from this code
<span class="price-item price-item--regular"> {{ product.price | money}} <span class="money">{{ product.price| money }}</span> </span>

I only found this <span class="price-item price-item--regular">
I tried to put all of it in comment and end comment and add this code

<span class="price-item price-item--regular"> {{ product.price | money }} </span>

Didn't work, I tried in different ways and I up ended with the price shown 4 times!
Could you please help me with this?

Thank you

rebornlegacystu
Visitor
3 0 0

Hello, I have the same problem with my store showing price twice !! Please help !! 

Blippie
New Member
4 0 0

Might you know what to do if Colors and size appear twice? I'm using Kalle theme.  Need to keep the top color options and the bottom (round) size variants.  

Blippie
New Member
4 0 0

infoatcodelab7
Shopify Partner
593 141 155

@ClareLow 

1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > component-price.css  and paste this at the bottom of the file:

 

span.money {
    display: none;
}

 

 

Want to modify or develop new website, Hire us.
If helpful then please Like and Accept Solution .
Email: info@codelab7.com
Aryan7w7
New Member
6 0 0

Thanks my problem solve

Thanks alot