• Resolved kiosov

    (@kiosov)


    Catch the issue and can’t realize why it’s happened. Customer email [email protected], gift cart recipient email I put into the To field is [email protected]. But after I check the order as completed, the customer (not the recipient) receives the email with the gift card code — the code is generating for the customer email.

    PW WooCommerce Gift Cards version 1.186
    WooCommerce version 5.6.0

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter kiosov

    (@kiosov)

    Found the source of the issue. This happens when I change location of the gift card form with add_action( 'woocommerce_single_product_summary', 'pwgc_woocommerce_before_add_to_cart_quantity', 22 ); hook.

    Plugin Author pimwick

    (@pimwick)

    The gift card plugin is designed to work on the main product page in the Variable Product form. The PW Gift Card product type is an extension of the Variable Product type.

    It sounds like you can’t use the “woocommerce_single_product_summary” hook and instead need to use a different hook so that the gift card fields are contained within the <form> for the variable product.

    Unfortunately this level of customization is outside the scope of what we can help with in the forums. Hopefully you find a working solution for your project and if you would like to share it here in case anyone else needs it in the future you can. We are marking this thread as resolved, thanks for understanding.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Misdirected emails’ is closed to new replies.