Price - by jeremy - on WordPress WooCommerce support

This topic has 8 replies, 3 voices, and was last updated 9 years, 9 months ago ago by Jack Richardson

  • Avatar: tlgv
    jeremy
    Participant
    March 3, 2016 at 20:15

    Hello,

    I want to put the word “new price” under my displayed price on my single product page. How can I do that? What files I need to modify and how?

    Thanks a lot.

    7 Answers
    Avatar: stan
    Stan Russell
    Participant
    March 4, 2016 at 08:35

    Hello tlgv,

    please show on screenshot where exactly do you want to insert these words.

    Regards,
    Stan Russell.

    Avatar: tlgv
    jeremy
    Participant
    March 4, 2016 at 10:27

    Hi Stan,

    Please find:

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    March 7, 2016 at 08:29

    Hello,

    Try to use this code in Theme Options > Custom CSS > Global Custom CSS:

    .product-information .price del:after {
        content: "Ancien price";
        display: block;
        position: absolute;
    }
    .product-information .price {
       display: inline-flex;
    }

    Best regards,
    Jack Richardson.

    Avatar: tlgv
    jeremy
    Participant
    March 7, 2016 at 12:01

    Hi Jack,

    Thank you but it doesn’t work depending on devices and browsers.

    Do you another way to do it?

    Thank you.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    March 8, 2016 at 10:56

    Hello,

    I’ve added the previous code in Global Custom CSS and this code in Custom CSS for mobile:

    .product-information .price del:after {
        content: "Ancien price";
        display: block;
        position: absolute;
        margin-left: 20%;
    }

    Please check now.

    Best regards,
    Jack Richardson.

    Avatar: tlgv
    jeremy
    Participant
    March 8, 2016 at 18:04

    Ok thank you!

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    March 9, 2016 at 14:23

    Hello,

    You’re welcome.

    Best regards,
    Jack Richardson.

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

The issue related to '‘Price’' has been successfully resolved, and the topic is now closed for further responses

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