This topic has 24 replies, 3 voices, and was last updated 6 years, 7 months ago ago by Rose Tyler
Dear Support,
I have a question, when I have a product variation is it possible to display only the minimum price instead of displaying the price range from minimum to maximum? I would like that the correct price would be display only when the variation is selected instead of showing the full range.
Thanks in advance.
F.
Hello,
Please refer to this article:
https://businessbloomer.com/disable-variable-product-price-range-woocommerce/
Regards
Thanks!
You’re welcome!
Regards
This is great – now how do I remove the text that says “every 4 weeks” after the subscription price? https://www.puredogfood.com/product/clean-chicken-quinoa-subscription/
Also can it say “FROM: $7.00 to $14.00” ?
Hello @aahmadi3,
The text can be removed using css code:
.single-product .subscription-details {
display: none;
}
I would recommend you to contact woocommerce support.
Regards
Hi Rose,
This did not work – please keep in mind that my products are variable.
Please advise.
Thanks
Ali
Dear Rose,
I noticed that in the website example provided by aahmadi3 (https://www.puredogfood.com/product/clean-chicken-quinoa-subscription/), close to the variation final price appears also the variation text selected.
Basically what aahmadi3 would like to remove.
Could you please tell me how to implement it?
At the moment my website displays only the price (without the variation text) https://www.muranoglassitaly.com/product/murano-glass-boat-barca-vela/
Best regards.
F.
Hello @aahmadi3,
I do not see the code on your site via the console. Have you added the code in custom.css file of the parent theme? Do you use cache plugin? Please, clear cache, if this won’t help, provide temporary wp-admin access in the Private Content area.
Regards
Hello @fabio_vito,
Please describe in more details the desired result on your site.
Regards
Hi Rose,
Are you looking at my live site? http://www.puredogfood.com
The code is there and yes I always clear cache when making CSS changes.
Please advise.
Thanks
Ali
Rose,
You guys are not reading my request properly. I want to remove the text after the price on my subscription products: https://www.puredogfood.com/product/clean-chicken-quinoa-subscription/
Everything is working fine on my normal variable products but your code is not removing the text after the subscription product price…it’s confusing to say “every 4 weeks” after a price…
Please advise.
Thanks
Ali
Dear @aahmadi3,
Sorry, but your problem is a bit unclear for me. Please see screenshots http://prntscr.com/j6rslu > https://prnt.sc/j6rsxk
Could you please provide link to page where the code is not working and some screenshots?
Regards
I have included this code in my custom CSS but its not working???
Line 359: https://www.puredogfood.com/Newsletter/CSS.png
Please advise, is this being pulled from a different file?
Hello @aahmadi3,
On your screenshot, I can see that the code was added inside an unclosed media query http://prntscr.com/j77x7z The code works http://prntscr.com/j77xya from 979px to 1200px http://prntscr.com/j77yml
Regards
Hi Rose,
Great catch and thank you – but now I notice the code is not working for larger screens. Only when I reduce it down it disappears. How do I fix this?
Let me know.
Thanks
Ali
Hello @aahmadi3,
Have you tried to clear cache? I do not see the problem http://prntscr.com/j7ojlk Have you sorted out?
If you still need some help, please describe the problem in more details and provide us with temporary wp-admin and FTP access.
Regards
Hi Rose,
Thank you so much for helping us with this – we got it figured out and it is finally not displaying on the product page but can you help us remove it on this page: https://www.puredogfood.com/subscription/
Please advise.
Thanks
Ali
Hi Rose,
What I meant is the following. How could I make appearing close to the second price (the price related to the selection) a text reporting again the selected variation?
I would like to achieve what the user Ali tried to remove. In Ali’s website, close to the price variation it was displayed the variation description. You provided a code (.single-product .subscription-details { display: none;}) to hide the description.
How could I intentionally display the variation description close to the variation price in my single product page once somebody is selecting the variation in the selector menu? (https://www.muranoglassitaly.com/product/murano-glass-boat-barca-vela/)
Thank you in advance,
F.
Hello @aahmadi3,
Please change this code:
.single-product .subscription-details {
display: none;
}
to
.products-grid .subscription-details, .single-product .subscription-details {
display: none;
}
Regards
Hello @fabio_vito,
This is not a default possibility of the theme. You can find an additional plugin that can provide this functionality or contact woocommerce support.
Regards
Ok, thank you anyway.
Hello @fabio_vito,
You’re welcome. Have a nice day.
Regards
You must be logged in to reply to this topic.Log in/Sign up