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 subdirectories as well!
Once the file is in your theme folder, open them 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
Hope that helps, let me know if you have any questions!
-
This reply was modified 5 years, 3 months ago by pimwick.