Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hello there,
    hope you are doing well! ??

    We have tried it on our local installation and it works fine!

    Please, try to deactivate all plugins, leaving only WooCommerce and YITH Gift Cards active, and see if the problem is solved. If so, try to activate them again, one by one, to see which one causes the issue.

    If the problem isn’t caused by a plugin, try to activate the default theme Twenty Sixteen and see if you have the same issue.

    Also, if you have customized some files in your theme, please try with a fresh installation without any customization.

    Please try this solution and let us know any news, please.

    Have a nice day!

    This looks broken. For example: “ywgc_display_form” This looks like a plugin option in form-gift-cards.php file, but nowhere it is being set.

    I think the bug is in this line inside class-with-ywgc-frontend.php:

    $get_option_ywgc_gift_card_form_on_checkout_place = get_option ( ‘ywgc_gift_card_form_on_checkout_place’, ‘woocommerce_before_checkout_form’ );

    It should be:
    $get_option_ywgc_gift_card_form_on_checkout_place = get_option ( ‘ywgc_gift_card_form_on_checkout_place’, false );

    This shows the gift code field on the checkout page. There seems to be similar issues like this. I am using the free version by the way.

    Also, clicking the “Apply your gift card code” button in the email goes to 404. I don’t see anything in the plugin which is handling the url.

    I’ve got the same issue. When I use the coupon code formula, the code simply doesn’t exist.

    You know any fix for that?

    I have tried disabling all plugins and same error.

    Plugin Author YITHEMES

    (@yithemes)

    Hello there,
    hope you are doing well! ??

    A new version (2.0.1) is available to fix the issue with the non-existing gift card codes in the coupon’s inputs.

    Could you update the plugin and check if the problem is solved, please?

    Let us know any news.

    Have a nice day and sorry for the inconvenience!

    Clicking the “Apply your gift card code” button in the email still goes to 404.

    Plugin Author YITHEMES

    (@yithemes)

    Hello @farazahmed1 ,

    Could you check if adding the next code in the functions.php of your active theme the problem is solved, please?

    if(!function_exists('yith_ywgc_email_automatic_cart_discount_url_custom')) {
        function yith_ywgc_email_automatic_cart_discount_url_custom( $url ) {
            $url = home_url();
            return $url;
        }
        add_filter( 'yith_ywgc_email_automatic_cart_discount_url', 'yith_ywgc_email_automatic_cart_discount_url_custom', 10, 1 );
    }

    Let us know any news.

    Have a nice day!

    @yithemes

    I see what you did there, but this is the link I received previously in the email: https://dummysite.com/order-jan-29-2020-0512-am/?ywcgc-add-discount=5A2C-188F-85FF-9DDD&ywcgc-verify-code=13671907415d911e1beb43e81ffb69b7

    I don’t see ‘ywcgc-add-discount’ query parameter being processed in the plugin. Is this a premium feature where the discount is applied automatically?

    Plugin Author YITHEMES

    (@yithemes)

    Hello @farazahmed1,

    You are completely right, these parameters should not be there. We already fixed it and a new version will be available soon.

    Many thanks for letting us know and sorry for the inconvenience.

    Have a nice day!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘No way to redeem the gift card’ is closed to new replies.