Adding text after quantity in WooCommerce Product page

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

  • Avatar: Mateo
    Mateo
    Participant
    February 25, 2021 at 19:11

    Hello, I’m trying to add a text after the quantity area but I could put it before the area: https://imgur.com/a/G6Z4ueT
    Is there a way to put it between the “+” simbol and the “add to cart” button?
    You should login to view the field.
    Regards,
    Mateo.

    Please, contact administrator
    for this information.
    6 Answers
    Avatar: Muhammad Zaki
    Muhammad Zaki
    Support staff
    February 25, 2021 at 20:13

    Hello!

    Thanks for getting in touch with us. My name is Muhammad.

    I am afraid to say that it is not possible to add any text between the quantity field and add cart button because they are single component. It will require changes in the core file using the child theme.

    Thank you!

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    February 25, 2021 at 20:16

    Hello,

    Try to add the below code to Theme Options > Custom CSS

    .et_product-block .cart .quantity {
        order: 0;
    }
    div.pezzi {
        order: 1;
    }
    .single-product-builder .single_add_to_cart_button.button {
        order: 2;
    }

    Regards

    Avatar: Mateo
    Mateo
    Participant
    February 25, 2021 at 21:05

    Really thank you, it worked.
    Can I ask if it can be done with php?

    Avatar: Robert Hall
    Robert Hall
    Support staff
    February 26, 2021 at 06:34

    Hi

    Thank you so much for your kind words.

    Yes you can customize your theme according to your requirements , make sure all changes done in child theme.

    Avatar: Mateo
    Mateo
    Participant
    March 2, 2021 at 19:43

    Thank you for replying but I actually was asking if you know about any snippet that can be used to achieve it.

    Regards,
    Mateo

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 3, 2021 at 13:16

    Hello,

    Sorry, but additional customization in files is outside the scope of our basic support.

    Regards

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

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

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