Version: 1.486
Fixed a timezone calculation problem that may occur on some servers when viewing the Activity Date detail record on the Balances page.
Added a hook to allow overriding the redeem hook priority in custom scripts.
Added a checkbox to the Create Gift Cards admin area to optionally reset the form after the gift cards have been created. Only load Pikaday and Moment.js on the gift card product page to improve page speed.
Global setting to hide the Pimwick Plugins menu in the admin area. Fixed an issue with displaying the currency with the WOOCS currency switcher plugin by realmag777. Fixed an issue with displaying the currency with the Aelia Currency Switcher plugin installed.
Confirmed compatibility with WooCommerce 6.8
Prevent an exception when viewing an order for a gift card product that was permanently deleted.
To fix a conflict with some Themes, changed the hook from woocommerce_before_add_to_cart_quantity to woocommerce_before_add_to_cart_button
Added the Used For Variations checkbox to the Attributes tab.
Fix for failed payments from the WooCommerce Authorize.Net Gateway when redeeming a gift card.
Renamed the setting Send When Order Received to instead be Send When Payment Received to better reflect what the setting will do. Fixed a syntax issue with older versions of PHP. Fixed an error that can occur when exporting gift cards to a CSV file. Improved Arabic translation.
New Feature: Redemption Restrictions. Limit which products and categories can be paid with a gift card. Optionally exclude Tax and Shipping when redeeming a gift card. Store the gift card meta information in the gift card table. Added new fields to REST API. You can also now send emails for existing gift cards using the REST API. Moved plugin update checker to correct location. Fixed a conflict with the SiteGround Optimizer plugin. Updated translations.
Fixed an issue with the Preview button when using comma as a decimal separator.
Small bug fixes.
Updated Pikaday calendar library to v1.8.2.
Changed the default to Unchecked for the Buy Gift Cards With Gift Cards setting. Confirmed compatibility with WordPress 6.0
Confirmed compatibility with WooCommerce 6.5
Prevent a possible exception from being thrown when using PHP8 with WPML and the order no longer exists when sending an email.
Confirmed compatibility with WooCommerce 6.4 and WordPress 5.9.3
Fixed an issue that might prevent the Email Gift Card button from working on manually created gift cards in the admin area.
Added an Export button to allow downloading a CSV file of existing gift card numbers with balances. Added the ability to overwrite the gift card balance when importing existing numbers.
New feature: Allow choosing an email design when sending the gift card email from the Balances page in the admin area. New feature: When importing gift card numbers, you can now specify the From and Email Design options. WooCommerce 6.4 compatibility.
Fix to ensure that the function get_current_screen is available in the current context to prevent an exception on some systems.
Improvements to the French translation. Fixed a possible display issue when using a background image on the gift card email.
Confirmed compatibility with upcoming WooCommerce v6.3
Added a Dropdown Menu Order property to the gift card designs so that you can optionally change the sort for the email design dropdown menu. When creating a new design in the Email Designer, copy the currently selected design as a starting point. Removed several jQuery warnings for deprecated function calls. Refreshed translations to add any missing strings. WordPress 5.9 and WooCommerce 6.2 compatibility.
Added a scrollbar to the Check Balance table for use on smaller screens. Added compatibility for the Mollie Payments for WooCommerce payment gateway plugin.
Fixed the translation of Delivery Date in the Spanish translation. Fixed an issue when calling order item formatted meta data via an AJAX call and get_current_screen() returns empty.
Fixed a display issue with WooCommerce PayPal Payments plugin by WooCommerce when redeeming a gift card.
Fixed the Expiration Date format used on the PDF gift card and the preview. It now correctly uses the date format specified in the WordPress admin area under Settings > General > Date Format.
Increased the hook priority to 1 for the send_headers hook that is used to display the PDF gift card. The priority can be changed by setting PWGC_SEND_HEADERS_PRIORITY in wp-config.php
Fixed a display issue for scheduled gift cards that also contain a bonus gift card.
Fixed an issue with viewing a PDF with certain special characters in the message.
Allow deactivating or reactivating a gift card along with a note via the REST API.
Improved the Italian translation. Fixed an issue with the REST API that prevented reactivation of a deactivated gift card using the API. Ensure that the product object is available when viewing a PDF for custom email template overrides. Set the PDF filename to be gift-card.pdf and added a new hook to optionally change this: pwgc_pdf_filename
Ensure that the Pikaday library is loaded first when Allow Scheduled Delivery is enabled.
For physical gift cards, do not show the Generated And Emailed After Complete message to the customer since this could be confusing.
Fixed an issue where the Apply Gift Card and Remove fields did not work on the Cart page after changing the Shipping method. Ensure the Gift Card product data tab is the first one when other plugins are installed such as WPC Composite Products. Use the regular price for the bonus gift card calculation for on sale gift cards.
Prevent the Email Design meta value showing for Physical Gift Cards.
Added a new filter to disable the auto focus feature for the Other Amount field: pwgc_auto_focus_other_amount. See our FAQ for details.
Show the full amount and not the sale price when previewing a gift card that is on sale.
When viewing a Preview on the frontend, ensure that the View PDF link shows the currently selected amount and not the placeholder 123.45
Added translation for Norwegian Bokmål. Created a new hook to allow overriding the temporary directory for the PDF gift cards: pwgc_mpdf_temp_dir
Added a new hook to be able to override the Check Balance page on the My Account area: pwgc_balance_page
Added a new hook to allow changing the email item data: pwgc_customer_email_item_data. Improved the accuracy of the Outstanding Balance amount in the admin area by rounding at each step. Fixed a conflict with PPOM for WooCommerce when changing the shipping method on the Cart or Checkout pages.
Fixed a conversion issue when using the Price Based on Country for WooCommerce plugin by Oscar Gare.
- Added a new option to not display the Gift Card Applied message when clicking the Redeem button. To disable this message, set PWGC_SHOW_GIFT_CARD_APPLIED_MESSAGE_FROM_REDEEM_BUTTON to false in wp-config.php
Confirmed compatibility with WooCommerce v5.7
- Improved the cart_contains_gift_card() function so it can be used in the back end. Added a hook to change the configuration parameters for the PDF generation.
- Prevent a possible exception from being thrown when using WPML Multi Currency.
- Removed padding to fix a display issue when using the background images option for the email design.
- Fixed a display issue when previewing the gift card with the Price Based on Country for WooCommerce by Oscar Gare plugin installed.
Confirmed compatibility with WooCommerce 5.6.
Fixed an issue with Previews and PDFs when overriding the email template file.
Removed a PHP Warning message that can appear in the log files when running wp-cron.php on the command line.
- Admin area improvements: Added word wrap to the Recipient email address column. Improved load times on the Balances page. Fixed an issue with recipient emails longer than 255 characters.
- Reduce the installation size by removing unnecessary fonts from the PDF module.