Price display for variable products (part2)

Home Forums Legacy Support Support queries Styling issues Price display for variable products (part2)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #60051
    YarosIK
    Spectator
    Hello guys, sorry to recreate a new topic, but i still had one problem with the pricing display treated in https://wplms.io/support/forums/topic/price-display-for-variable-products/ the code you provided : .single-product .product p.price { display: none; } solves the problem exactly as i wanted for variable products, but recently i started to use standard products, and the price is not displayed at all. Is there a way to applied the above code to only variable products please ?  
    #60335
    H.K. Latiyan
    Participant
    The price shown above the variation is the woocommerce product price, so if you hide it then price from all the products will be hidden. The price above the button is the variation price so you can hide the variation price by using the below custom css: .single-product .woocommerce-variation-price {display: none;} Now if you remove the previous css and add this new css then the product page will look like this: Single product page without variation: http://prntscr.com/bx85z1 Single product page with variation: http://prntscr.com/bx86e5 But the reverse is not possible because HTML structure is same for the price.
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Price display for variable products (part2)’ is closed to new replies.