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;
}
Thanks my problem solve
Thanks alot
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024