Move price next to “add to cart” issue

This topic has 4 replies, 2 voices, and was last updated 2 years, 8 months ago ago by Rose Tyler

  • Avatar: Evgeny_Babychuk
    Evgeny Babychuk
    Participant
    June 9, 2021 at 04:54

    Hello there. I’m using the Gravity Forms add-on for Woocomerce. It allows to shows the form on the product page which important feature for our business. Unfortunately, I can correctly place the price next to the “Add to Cart” button. I’ve used single page builder but it doesn’t take into considaration the form and show the price before it (the form) On the screenshot you can see another price which is provided by Gravity Form. I’m not sure if it can be merged with Woocomerce price. If there is no way to move it there I would rather hide the woocomerce price. Thank you. screenshot

    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 9, 2021 at 14:50

    Hello,

    Use this custom CSS code to hide the price:

    .single-product .et_product-block > .price {
        display: none;
    }

    Regards

    Avatar: Evgeny_Babychuk
    Evgeny Babychuk
    Participant
    June 9, 2021 at 16:00

    Hello Rose,

    Thank you for your reply. Unfortunately, it also affects simple products and makes the price invisible. Any way I can apply it for a certain category or type of product?

    Thank you.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 10, 2021 at 07:54

    Hello,

    Please try this code:

    .single-product .has-default-attributes .price {
        display: none;
    } 

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

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

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