[Resolved] Remove sale badge single product page

Home Forums Support [Resolved] Remove sale badge single product page

Home Forums Support Remove sale badge single product page

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #614940
    Jarno

    Hi,

    I’ve unchecked the sale badge within Generatepress, it disables the sale badge on the archive page, but not on the single product page. I’ve tried to remove it within the functions.php with the following code, however it does not work.

    remove_action( 'woocommerce_before_single_product_summary', 'woocommerce_show_product_sale_flash', 20 );

    Shouldn’t this work trough the settings of generatepress?

    Thanks!

    #614999
    David
    Staff
    Customer Support

    Hi there,

    try:

    remove_action( 'woocommerce_before_single_product_summary', 'woocommerce_show_product_sale_flash', 10 );

    I will pass this comment on to Tom.

    #615001
    Jarno

    This worked, thank you!

    #615012
    David
    Staff
    Customer Support

    You’re welcome. Glad to be of help

    #615403
    Tom
    Lead Developer
    Lead Developer

    Just added an option in GPP 1.7 to disable the single product sale flash ๐Ÿ™‚

    #615652
    Jarno

    Damn your fast. I have zero regrets buying this template. Keep up the good work!

    #615727
    Tom
    Lead Developer
    Lead Developer

    Thank you! ๐Ÿ™‚

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.