WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Adding the text "NOW" before the price on a single product page (5 posts)

  1. pylon2000
    Member
    Posted 1 year ago #

    Hello,

    Does anyone know the best way to add in text before the price so it reads "NOW $499.00" on a single product page only?

    Thanks for your help in advance :)

    Cheers,
    Pylon2000

    http://wordpress.org/extend/plugins/woocommerce/

  2. bwrh
    Member
    Posted 1 year ago #

    I would be interested in an solution to this too!

  3. mike1394
    Member
    Posted 1 year ago #

    You can do this with css.

    ins:before {
      content: "Now: ";
      color: #000;
      font-size: 14px;
    
    }

    "ins" is the new price when it's onsale. I believe it would be ".amount" if there is no sale price.

  4. pylon2000
    Member
    Posted 1 year ago #

    Thanks mike1394,

    I really appreciate your solution, it worked perfectly!!!

  5. mike1394
    Member
    Posted 1 year ago #

    You're welcome.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.