Support » Plugin: WooCommerce » Variable Product Price

  • Resolved morganpubblicita

    (@morganpubblicita)


    Good morning, i’ve got a little problem, on my website i’ve got a lot of variable products, but i would like fot it to not show the pricing as “XX.XX € – XX.XX €”, is it possible? if so, can you give me a code or something, as i’m not well versed in these things? thank you!

    https://wordpress.org/plugins/woocommerce/

Viewing 9 replies - 1 through 9 (of 9 total)
  • To hide the pricing on the product page, try this in your custom css:

    .pricebox {display:none}

    And for the catalogue page:

    .product_item .product_price {display:none}

    Some themes have different markup so if this doesn’t work please post the url to your site.

    Thread Starter morganpubblicita

    (@morganpubblicita)

    added to the css of the child theme, but it was ignored. Theme is GoodStore, link: (link of a single product with variable price)

    Yes, that markup is a bit different to mine. Try this:

    .price-container .price {display:none}

    Thread Starter morganpubblicita

    (@morganpubblicita)

    it worked, but now i’ve seen something else “strange”. While the title of the is big, the name of the attribute (in this case “Dimensioni Zerbino”) is very small. Is there a way to modify this too?

    .woocommerce #content div.product .entry-summary .variations label,
    .woocommerce div.product .entry-summary .variations label,
    .woocommerce-page #content div.product .entry-summary .variations label,
    .woocommerce-page div.product .entry-summary .variations label
    {font-size: 18px}

    The current size is 14px.

    Thread Starter morganpubblicita

    (@morganpubblicita)

    that 14 px is for other typos, as i have in background an option to modify it. I tried to add the code anyway, but it was ignored. Any idea why? Maybe i should contact the author of the theme?

    Thread Starter morganpubblicita

    (@morganpubblicita)

    sorry, not background, but backend

    A font-size in /goodstore-child/style.css is overwritten by /goodstore/css/template.min.css which is loaded later in the page and therefore takes precedence.

    Perhaps the easiest way of dealing with this is to use the important directive:

    .woocommerce #content div.product .entry-summary .variations label,
    .woocommerce div.product .entry-summary .variations label,
    .woocommerce-page #content div.product .entry-summary .variations label,
    .woocommerce-page div.product .entry-summary .variations label
    {font-size: 18px !important}

    If it still doesn’t work please leave it in so I can debug it.

    Thread Starter morganpubblicita

    (@morganpubblicita)

    it seems that being important matters in this world lorro! XD
    Thank you, the code worked greatly.
    Case closed

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Variable Product Price’ is closed to new replies.