Template – To / From / Message fields

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-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.

You can find out more about customization here: https://docs.woocommerce.com/document/configuring-woocommerce-settings/#section-21

Skip to content