• Resolved brookerrj

    (@brookerrj)


    I am in the process of evaluating the Gift Cards plugin running on a local staging server that has error messages being displayed. I am using the Advanced Dynamic Pricing plugin and unless I disable it I see the error message:

    “Notice: Undefined variable: redeem_hook_priority …htdocs\wp-content\plugins\pw-woocommerce-gift-cards\includes\pw-gift-cards-redeeming.php on line 41

    and the checkout hangs.

    I believe that you may have a mistake in your fix, shouldn’t:
    add_filter( ‘wdp_calculate_totals_hook_priority’, function( $priority ) { return $redeem_hook_priority – 1; });

    be:

    add_filter( ‘wdp_calculate_totals_hook_priority’, function( $priority ) { return $priority – 1; });

    Note: $priority not $redeem_hook_priority

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[NSFW] Advanced Dynamic Pricing conflict fix’ is closed to new replies.