Template – Apply Gift Card
You can change the location of this field from the settings page. Click on Pimwick Plugins -> PW Gift Cards -> Settings and set the “Redeem Location” options.
If you want more control we use the built in WooCommerce template system. To override the look of the Apply Gift Card area, copy the template file to your theme directory.
The template files are here:
/wp-content/plugins/pw-woocommerce-gift-cards/templates/woocommerce/
When you find the template file you want to override, copy it to your theme directory:
/wp-content/themes/<your_theme>/woocommerce/
Note: make sure that you copy any sub-directories as well!
Once the file is in your theme folder, open it up in a text editor and make any changes to the HTML and CSS.
There are four template files for the “Apply Gift Card” area depending on the settings chosen here:
Pimwick Plugins -> PW Gift Cards -> Settings -> Redeem Location
For the “Cart” page:
/pw-woocommerce-gift-cards/templates/woocommerce/cart/apply-gift-card-after-cart-contents.php /pw-woocommerce-gift-cards/templates/woocommerce/cart/apply-gift-card.php
For the “Checkout” page:
/pw-woocommerce-gift-cards/templates/woocommerce/checkout/coupon-area-pw-gift-card.php /pw-woocommerce-gift-cards/templates/woocommerce/checkout/payment-method-pw-gift-card.php