Shopify themes, liquid, logos, and UX
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?
Solved! Go to the solution
This is an accepted solution.
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 !
Kindly share your price snippet code.
So i can check and help you to solve your issue !
This is an accepted solution.
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 !
Brilliant thanks!
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
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;
}
User | RANK |
---|---|
208 | |
165 | |
72 | |
56 | |
53 |
Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023