• Issue #1) Although the plugin page explains the following…

    “Q: Why haven’t I received the email containing the gift card code?
    A: The gift card code is generated only after the order status goes to “complete” and therefore it will be sent to the email address entered.”

    It seems that this is totally incorrect, the gift card code is generated immediately and is sent with the “Order Received, processing” email. How do I fix this so it is only sent when the order is complete?

    Issue #2) There is a screenshot on the official plugin page that shows a custom email template with a gift card image. On our store, that isn’t the case and it’s just a line item in the default email template. How can we use the custom gift card email template? Here is the picture from the plugin page: https://radleysustaire.com/s3/7waz1

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hello @radgh,

    Thanks for contacting us and I hope you’re doing well ??

    About your questions:

    1) Please add the following code on your functions.php

    if(!function_exists('yith_ywgc_generate_gift_card_on_order_status')) {
        function yith_ywgc_generate_gift_card_on_order_status($array)
        {
            return array('completed');
        }
    
        add_filter('yith_ywgc_generate_gift_card_on_order_status', 'yith_ywgc_generate_gift_card_on_order_status');
    }

    this only allow to send the gift card when the order is completed.

    2) Could you send me the link or a screenshot where I can see where you see this screenshots? I checked the screenshots https://www.ads-software.com/plugins/yith-woocommerce-gift-cards/ and I cannot see any screenshot related to custom email template.

    Please try it and let me know.

    Have a good day,
    YIThemes.

Viewing 1 replies (of 1 total)
  • The topic ‘Email questions’ is closed to new replies.