Order statuses for other add-ons do not appear on the email creator page

This topic has 4 replies, 3 voices, and was last updated 1 months, 3 weeks ago ago by Rose Tyler

  • Avatar: WaawStore
    WaawStore
    Participant
    January 30, 2025 at 19:38

    Hello. I use a shipping tracking plugin. Thanks to this add-on, my order status changes to ‘Package in transit’. I can do this from the woocommerce order section. But when I want to create a template with XStore email builder, there are only certain order statuses in the options. So, there is no ‘Package In Transit’ status option in the options. How can I solve this problem?

    Files is visible for topic creator and
    support staff only.
    3 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 31, 2025 at 15:41

    Hello, @WaawStore,

    We currently have basic WooCommerce emails available here https://prnt.sc/c5ITM1Pd1b7M. If you wish to add custom ones ( https://prnt.sc/4ak8AV8tZH0H ) , you can use the filter.
    Add the below code to child theme functions.php to enable the template for the email builder:

    add_filter('viwec_accept_email_type', function($emails) {
    	$emails[] = 'flexiblecouponsemail';
    });

    If you expect any issues with sending or receiving the emails, please, check how it works without our Email builder active.

    Kind Regards,
    Jack Richardson
    8theme team

    Avatar: WaawStore
    WaawStore
    Participant
    February 1, 2025 at 10:03

    Hello,
    I have added the provided code to the functions.php file, and it successfully resolved my issue. Thank you very much for your support! 🙌
    Best regards.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 2, 2025 at 06:45

    Hello, @WaawStore,

    You’re most welcome! Wishing you a wonderful day ahead.

    Warm Regards,
    The 8Theme Team

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

You must be logged in to reply to this topic.Log in/Sign up

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.