• Resolved nadine

    (@ninablue)


    Hi there,
    my customer doesn’t want to have the “To” and “From” fields to be displayed on the gift card page. I know that these fields are mandatory. However, is there a way to remove these fields?
    Thanks for help and best regards

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

    (@pimwick)

    The fields are required however you could hide them via CSS and fill the values with your own email address. The gift card would not be delivered to the recipient, instead it would be sent to whatever email address you place in the “To” field. You will have to figure out how to get the gift card to the recipient. Since you aren’t asking for this information from the purchasing customer you will have to reach out to them some other way.

    If you still want to go this route, you can copy this file:

    /wp-content/plugins/pw-woocommerce-gift-cards/templates/woocommerce/single-product/add-to-cart/pw-gift-card-before-add-to-cart-quantity.php

    To here (create any missing subfolders):

    /wp-content/themes/<your_theme>/woocommerce/single-product/add-to-cart/pw-gift-card-before-add-to-cart-quantity.php

    Once the file is in your theme folder, open it up in a text editor and make any changes.

    Plugin Author pimwick

    (@pimwick)

    I’m closing this thread, just let us know if you need anything else though.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Remove “To” and “From” fields from gift card’ is closed to new replies.