• Hi guys,

    Wonder if its possible to remove email, rceipient and others fields appearing when selected any amount of voucher in product page. I prefer to send card to email which will be provided in checkout page.

    Thanks

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

    (@pimwick)

    The “To” field is required since that is where the gift card will be emailed. With that being said, we use the built in WooCommerce template system so that you can fully customize these fields.

    To override the HTML for these fields, copy this file:
    /wp-content/plugins/pw-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//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 you can hide the To field in HTML (for example, by setting the style=”display: none;”)

    Be sure that you fill in an email address for the “value” of the field before hiding it. You could use the store admin email, for example.

    Thread Starter byweris

    (@byweris)

    OKay got it .

    Main function i be using to created gift cards in advance in admin panel. Is there option o create bulk codes of selected nominal ?

    Also is there any API regarding gift cards?

    Thread Starter byweris

    (@byweris)

    also if we hide TO field in product page, will the gift card to send to email which be provided in eshop Checkout form?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove email information fields from product page’ is closed to new replies.