Home Forums Space themes support forum Product badges (SALE) on the image are not displayed

Product badges (SALE) on the image are not displayed

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #607933

    Jean-Michel
    Participant

    Hello,

    When I create product templates with Elementor, they don’t appear in the top left of the image as usual. Why not?

    However, it is shown on the archive image.
    Thank you very much for your help

    Attachments:
    You must be logged in to view attached files.
    #608075

    Luke Nielsen
    Keymaster

    Hello,

    Add the code below in the functions.php file in your child theme:

    /**
     * Add Sale Flash Badge to Single Product Gallery.
     */
    add_action( 'xts_before_single_product_main_gallery', 'woocommerce_show_product_sale_flash', 200 );

    Kind Regards

    #608089

    Jean-Michel
    Participant

    Thanks .-)

    #608341

    Luke Nielsen
    Keymaster

    Hello,

    You’re very welcome! I’m glad I could help. If you have any more questions or run into any other issues, feel free to reach out. We’re always here to assist you.

    Kind Regards

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Product badges (SALE) on the image are not displayed’ is closed to new replies.