Variable Product Pricing - by freq - on WordPress WooCommerce support

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

  • Avatar: freq
    freq
    Participant
    July 29, 2019 at 21:18

    Hi,

    When I open a product page for a product with variable pricing, the default price will be much larger and bolded, but however when you select a different option it will be very small. How do I fix this so that every price will be shown as it does in the beginning?

    Here’s an example:
    On initial load: https://i.imgur.com/yYWOyjq.png
    Changing the option: https://i.imgur.com/W65al2h.png

    If I change the amount back to one, it will still display it much smaller.

    20 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    July 30, 2019 at 08:31

    Hello,

    The problem appeared because woocommerce-price-based-country plugin changed the class of the price div block. Add the following custom to child theme style.css

    .woocommerce-variation-price {
        font-size: 30px;
    }

    We’ll also improve selector in the next theme update to avoid this issue in future.

    Regards

    Avatar: freq
    freq
    Participant
    July 30, 2019 at 18:59

    Thank you, that works great for now although it doesn’t look 100% the same (https://i.imgur.com/FFJcUwH.png vs https://i.imgur.com/FXUSfZJ.png)

    Nothing major at all, just thought I would mention it. Great to hear the theme will be updated as well.

    Thanks again!

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    July 31, 2019 at 08:03

    Hello,

    Replace the previous code by the following

    .woocommerce-variation-price {
        font-size: 30px;
        font-family: 'Roboto';
    }

    Regards

    Avatar: freq
    freq
    Participant
    August 1, 2019 at 03:40

    Great, thank you.

    Another issue I’ve been having is with how the links are embedded when I want to link them somewhere. It will show ‘was last modified x by x’, which I would like to get rid of, and possibly also edit it to my liking, to show something more relevant to the content of my website, especially on the front page, but it’s also present on product pages etc.

    Examples: https://i.imgur.com/Vu04OFQ.png

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 1, 2019 at 07:38

    Hello,

    You’re welcome!
    Provide us with temporary wp-admin and FTP access.

    Regards

    Avatar: freq
    freq
    Participant
    August 1, 2019 at 22:32

    Done 🙂

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 2, 2019 at 16:01

    Hello,

    You are using All in One SEO Pack Plugin, so the option “Disable default Open Graph meta tags” should be ON (Theme Options > General http://prntscr.com/oniuau ) In other case og:description tag takes page excerpt that includes modified by text. Try now.

    Regards

    Avatar: freq
    freq
    Participant
    August 2, 2019 at 16:45

    Hi,

    Thanks again. Is it possible without the plugin? Because now it seems like when I link a product it overrides the text and product image there to be the same as any other link to the website.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 2, 2019 at 17:11

    Hello,

    I have tried to share product and it displays product image and product title + site title http://prntscr.com/onjpk9 Everything is according to your SEO plugin settings http://prntscr.com/onjro9

    Regards

    Avatar: freq
    freq
    Participant
    August 2, 2019 at 18:49

    Hey

    Okay, before it would show part of the product description, can I still have it do that somehow? (as seen here: https://i.imgur.com/Vu04OFQ.png)

    Also, for some reason the banner seems to get blocked by uBlock Origin, perhaps other adblockers as well, I have been unable to figure out why

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 3, 2019 at 09:06

    Hello,

    Sorry, but your questions are a bit unclear for me. Please describe them in more details.

    Regards

    Avatar: freq
    freq
    Participant
    August 3, 2019 at 16:54

    Hi,

    As shown, before enabling this option it would show part of the product description (here: https://i.imgur.com/fFHeMaK.png), now it will show the same text for any page as far as I can see, is there any way I can have it so it shows the product description when I link to a product again? Here’s what it looks like now, I also can’t seem to get it to show the product image instead of that logo: https://i.imgur.com/abjJBeV.png

    The other thing I was talking about is the banner on the home page, as seen here: https://i.imgur.com/fBK6Dd0.png – It seems some ad blockers are blocking it for some reason, so it doesn’t show up. I know that uBlock Origin has done this, but I can’t figure out why this is happening.

    Avatar: freq
    freq
    Participant
    August 4, 2019 at 01:51

    Here is the log from uBlock Origin blocking my website banner: https://i.imgur.com/xGGanlY.png

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 5, 2019 at 10:19

    Hello,

    1) I would suggest you to use Yoast SEO plugin instead of All in one seo pack. Then you’ll be able to manage SEO product/page descriptions, images etc http://prntscr.com/oogata

    2) We are not Master slider developers and we don’t know why uBlock Origin blocking the slider images. You may submit request about this to Master slider developers but you need to buy an individual license for the plugin in this case https://codecanyon.net/item/master-slider-wordpress-responsive-touch-slider/7467925 . Or use Revolution slider instead of the Master slider, it works fine, check the home page.

    Regards

    Avatar: freq
    freq
    Participant
    August 6, 2019 at 00:07

    Hello

    1) Great, I am now using this plugin and it seems to be working as intended.

    Though there is one thing, whenever a link is embedded, it will now once again show the ‘was last modified: xxx’ as seen here: https://i.imgur.com/jG2iD4Q.png – which I would very much like to get rid of, I can’t seem to figure out how to do this. The ‘Date in Snippet Preview’ option is set to hidden, but I’m not sure if this is what I’m looking for.

    2) Perfect, thanks a lot for that.

    Thanks for the very helpful support, I suspect this is the very last thing for now.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 6, 2019 at 08:29

    Hello,

    1) Removed. Don’t forget to add a meta description for the home page, it’s useful for SEO.

    Regards

    Avatar: freq
    freq
    Participant
    August 6, 2019 at 20:57

    Thank you for all the support and the pointer on SEO :), everything seems to be working as I want it now.

    Now Yoast is suggesting me that I change my permalink structure to ‘/%postname%’ but when I try to do that every link I have seems to 404.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 7, 2019 at 08:58

    Hello,

    You are welcome.
    Contact your hosting provider. This is something related to your server settings https://www.cyberciti.biz/faq/how-to-configure-nginx-for-wordpress-permalinks/

    Regards

    Avatar: freq
    freq
    Participant
    August 7, 2019 at 17:38

    Thank you I will do this. That’s all for now 🙂

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 8, 2019 at 07:04

    You’re welcome!
    Have a nice day.

    Regards

  • Viewing 21 results - 1 through 21 (of 21 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.