Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #2593698
How to edit "Sale" text on Bundle products.
Closed

Comments

  • Rakib Jobayer started the conversation

    How can I edit "Sale" text on Bundle product? Please see attachment.

  •  767
    Janilyn replied

    Hi Rakib,

    Thanks for contacting us here. We've got your issue.

    I have transferred your ticket to one our developers so that he can check and give you further help. He might need to further discuss with you, so please in touch.

    He'll start working on this and will be responding as soon as he's available for support. 

    Please stay patient meanwhile cause this might take some time under our current heavy workloads.

    Best regards.

    Janilyn T. - WPClever Support Agent

  • Nicola replied

    Hi

    I'd like to know how to do this too.

    I have "sale" text too and would like to be able to edit the text & change the background colour, and have the option to remove the button altogether please.

    Thanks

  • [deleted] replied

    Hi Nicola,

    Please use this code to control sale text

    add_filter( 'woocommerce_sale_flash', 'wooc_custom_replace_sale_text' );
    function wooc_custom_replace_sale_text( $html ) {
    return str_replace( __( 'Sale!', 'woocommerce' ), __( 'Your Text', 'woocommerce' ), $html );
    }

    To change background, you need add some small css in custom css in customizer