Hide/Move Regular Price On A Sale Item - by michaelcp23

This topic has 7 replies, 3 voices, and was last updated 8 years, 3 months ago ago by Eva Kemp

  • Avatar: michaelcp23
    michaelcp23
    Participant
    January 21, 2016 at 01:16

    Two quick questions.

    1. In the shop product layout grid can I hide the retail price when a product is on sale. But I do not want it to hide the retail price on a product that is not on sale.

    2. Viewing from the Single Product Page I was wondering if its possible to move the retail price on the right side and top align next to the sale price.

    Orig:

    The image below is how I’d like it to look, let me know if this is possible?

    Thank you,
    Michael

    6 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 21, 2016 at 08:35

    Hello,

    1. Please add this code in Theme Options > Custom CSS > Global Custom CSS:

    .price del {
       display: none;
    }

    2. Use this code in Global Custom CSS:

    .product-information .price del {
        float: right;
        margin-right: 50%;
        margin-top: -10px;
    }

    Best regards,
    Jack Richardson.

    Avatar: michaelcp23
    michaelcp23
    Participant
    January 21, 2016 at 23:05

    The code for #2 worked great, but if I use the code from #1 in tandem with #2 it removes the sale price all together from the single product page, and not just the product page layout.

    Is there an alternative code for

    .price del {
       display: none;
    }

    Thank you,
    Michael

    Avatar: michaelcp23
    michaelcp23
    Participant
    January 21, 2016 at 23:07

    Single Product Page <– Missing sale price
    https://www.aventon.com/shop/cordoba-complete/

    Product Page Layout <– Looks good
    https://www.aventon.com/product-category/bikes/

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 22, 2016 at 14:12

    Hello,

    Please also use this css code:

    .product-information .price del {
       display: block;
    }

    Price will be shown on single product page.

    Best regards,
    Jack Richardson.

    Avatar: michaelcp23
    michaelcp23
    Participant
    January 22, 2016 at 20:00

    Jack this worked perfectly, thank you so much!

    Avatar: Eva
    Eva Kemp
    Support staff
    January 22, 2016 at 20:26

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

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

The issue related to '‘Hide/Move Regular Price On A Sale Item’' 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.