• Resolved parth41486

    (@parth41486)


    Hi I am using this plugin and on cart page I am unable to apply the gift card on cart page but it is working on checkout page. Can you please help me?

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 24 total)
  • Plugin Author pimwick

    (@pimwick)

    We’re looking into this now to see if we can determine why you’re having this issue. As soon as I have more information I will let you know.

    Thread Starter parth41486

    (@parth41486)

    Sure thanks for the quick response…

    Thread Starter parth41486

    (@parth41486)

    I am not getting any javascript errors while on the page or applying the gift card..

    Thread Starter parth41486

    (@parth41486)

    I am talking about box on the cart page not on the checkout page

    Thread Starter parth41486

    (@parth41486)

    It reloads the page but the gift card is not reflecting on cart page

    Plugin Author pimwick

    (@pimwick)

    There may be an issue when trying to redeem the gift card. Can you perform the following steps please:

    1. Log into your FTP site and edit wp-config.php
    2. Set the following values (add the lines if they don’t exist):
    define( ‘WP_DEBUG’, true );
    define( ‘WP_DEBUG_LOG’, true );
    define( ‘WP_DEBUG_DISPLAY’, false );
    @ini_set( ‘display_errors’, 0 );
    3. Return to the Cart page and attempt to add the gift card again.
    4. Now go back to FTP and send me the file /wp-content/debug.log
    5. Return to wp-config.php and set DEBUG back to false (reverting the changes made in Step 2)

    Thread Starter parth41486

    (@parth41486)

    It is not showing any debug log in the folder you mentioned. So for now I have unable
    define( ‘WP_DEBUG_DISPLAY’, true );
    @ini_set( ‘display_errors’, 1 );

    so you can check the errors and provide me solution kindly check it and help me out, as I need to WP_DEBUG_DISPLAY asap once the issue is resolved

    Thread Starter parth41486

    (@parth41486)

    PHP Notice: Use of undefined constant PWGC_GIFT_CARD_CUSTOM_AMOUNT_META_KEY – assumed ‘PWGC_GIFT_CARD_CUSTOM_AMOUNT_META_KEY’ in /home/sydneyha/public_html/wp-content/plugins/pw-woocommerce-gift-cards/includes/pw-gift-cards-purchasing.php on line 122

    I am getting this 1 error for meta key

    Plugin Author pimwick

    (@pimwick)

    Oh, I see you put a link in your first post, sorry about that. I see an error message that you’re getting:

    Notice: Use of undefined constant PWGC_GIFT_CARD_CUSTOM_AMOUNT_META_KEY - assumed 'PWGC_GIFT_CARD_CUSTOM_AMOUNT_META_KEY' in /home/sydneyha/public_html/wp-content/plugins/pw-woocommerce-gift-cards/includes/pw-gift-cards-purchasing.php on line 122

    This is just a notice, however it could be the source of the problem. I’m checking into this error now.

    Plugin Author pimwick

    (@pimwick)

    We released a new version of the plugin today, it is v1.13

    To get the update:

    1. Log into your WordPress Admin area.
    2. Click on Plugins -> Installed plugins.
    3. Scroll down to PW WooCommerce Gift Cards and click “Check for updates.”
    4. The page will refresh, then scroll back down and click on “Update.”

    After you get the update let me know if the issue is resolved.

    You can turn off debugging output for now, thanks!

    Thread Starter parth41486

    (@parth41486)

    if ( isset( $cart_item[ PWGC_GIFT_CARD_CUSTOM_AMOUNT_META_KEY ] ) ) {
    $item_data[] = array(
    ‘key’ => PWGC_AMOUNT_META_DISPLAY_NAME,
    ‘value’ => $cart_item[ PWGC_GIFT_CARD_CUSTOM_AMOUNT_META_KEY ]
    );
    }

    this is the code near the line 122

    Thread Starter parth41486

    (@parth41486)

    I have updated the plugin, but facing the same issue..

    Thread Starter parth41486

    (@parth41486)

    Now I am also not getting any notice…

    Thread Starter parth41486

    (@parth41486)

    I dont know what is causing this problem, I have used this plugin before and it was working fine…

    Please do let me know what can be the problem and how we can solve it

    Thanks for you quick responses

    Thread Starter parth41486

    (@parth41486)

    Can we connect over skype or somewhere for the quick communication solve the issue asap?

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘Unable to apply gift card on cart page’ is closed to new replies.