Variations Price - by Fabio - on WordPress WooCommerce support

This topic has 24 replies, 3 voices, and was last updated 5 years, 12 months ago ago by Rose Tyler

  • Avatar: fabio_vito
    Fabio
    Participant
    April 6, 2018 at 15:41

    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.

    23 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 6, 2018 at 15:44
    Avatar: fabio_vito
    Fabio
    Participant
    April 6, 2018 at 16:25

    Thanks!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 10, 2018 at 08:28

    You’re welcome!

    Regards

    Avatar: aahmadi3
    aahmadi3
    Participant
    April 12, 2018 at 19:10

    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” ?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 13, 2018 at 08:01

    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

    Avatar: aahmadi3
    aahmadi3
    Participant
    April 14, 2018 at 18:01

    Hi Rose,
    This did not work – please keep in mind that my products are variable.
    Please advise.
    Thanks
    Ali

    Avatar: fabio_vito
    Fabio
    Participant
    April 15, 2018 at 15:59

    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.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 16, 2018 at 10:11

    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

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 16, 2018 at 10:14

    Hello @fabio_vito,

    Please describe in more details the desired result on your site.

    Regards

    Avatar: aahmadi3
    aahmadi3
    Participant
    April 16, 2018 at 17:40

    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

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 17, 2018 at 07:20

    Dear @aahmadi3,

    Is the problem solved http://prntscr.com/j69vy0 ?

    Regards

    Avatar: aahmadi3
    aahmadi3
    Participant
    April 17, 2018 at 18:20

    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

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 18, 2018 at 09:05

    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

    Avatar: aahmadi3
    aahmadi3
    Participant
    April 18, 2018 at 20:13

    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?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 19, 2018 at 07:51

    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

    Avatar: aahmadi3
    aahmadi3
    Participant
    April 19, 2018 at 18:38

    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

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 20, 2018 at 07:27

    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

    Avatar: aahmadi3
    aahmadi3
    Participant
    April 20, 2018 at 19:29

    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

    Avatar: fabio_vito
    Fabio
    Participant
    April 22, 2018 at 12:26

    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.

  • 1 2
    Viewing 20 results - 1 through 20 (of 24 total)

You must be logged in to reply to this topic.Log in/Sign up

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.