=== Gift Pack for WooCommerce ===
Contributors: itpathsolutions, mayur8991, shailu25, wpeople, jaiminp, drashti16
Tags: woocommerce, gift pack, gift wrapper, gift wrap, gift
Donate link: https://www.itpathsolutions.com
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 2.1.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Add beautiful gift wrapping options to WooCommerce products with custom designs, pricing, and personal messages.
== Description ==
**Gift Pack for WooCommerce** lets customers add gift wrapping to individual products directly from the product page. Customers can choose their preferred gift pack design, write a personal greeting message, and the store owner can set a global gift wrap price or a custom price per product.
Whether you run a small boutique or a large store, Gift Pack for WooCommerce is the easiest way to offer a premium gifting experience to your shoppers.
= Key Features =
* Allow customers to add gift wrapping from the product page
* Set a global gift wrap price for all products
* Set a custom gift wrap price per individual product
* Enable or disable gift wrapping for specific product categories
* Let customers choose from multiple gift pack designs
* Personal greeting message field (Gift Pack Note)
* Separate "To" and "From" greeting fields with optional required validation
* Enable or disable Gift Pack Note, To, and From fields independently
* Upload unlimited custom gift pack / wrapper images
* Set a character limit for gift pack notes
* Gift pack details included in customer order emails
* Lightbox / popup display for gift pack image selection
* Customisable labels and placeholder texts from the settings page
* Background colour and title colour customisation
* Popup mode for gift pack image selection
* Works with both Simple and Variable products
* Fully compatible with WPML
* Easy to use with a clean, user-friendly admin interface
== Installation ==
1. Upload the `gift-pack-for-woocommerce` folder to the `/wp-content/plugins/` directory, or install it directly through the WordPress Plugins screen.
2. Activate the plugin through the **Plugins** menu in WordPress.
3. Make sure WooCommerce is installed and active.
4. Go to **Gift Pack for WooCommerce** in your WordPress admin menu to configure settings.
== Frequently Asked Questions ==
= Does this plugin require WooCommerce? =
Yes. WooCommerce must be installed and activated for this plugin to work.
= Can I use a custom gift wrap image? =
Yes. You can upload your own gift pack images from the Visualization Settings tab in the plugin settings.
= Can I set a global gift wrap price for all products? =
Yes. Enable the Global Price option in General Settings and enter the price you want to apply across all products.
= Can I set a different gift wrap price for individual products? =
Yes. When editing a product in WooCommerce, you will find a Gift Wrapper Cost field where you can set a custom price for that product.
= Can I change the default labels and placeholder texts? =
Yes. All labels and placeholder texts — including the Gift Wrap label, greeting fields, and note field — can be customised from the plugin settings page.
= Can I disable the gift wrap note or greeting fields? =
Yes. The Note, To, and From fields can each be independently enabled or disabled from the Note Settings tab.
= Can I make the greeting fields required? =
Yes. Each field (Note, To, From) has its own required toggle in the Note Settings tab.
= Is it compatible with WPML? =
Yes. The plugin is fully compatible with WPML for multilingual WooCommerce stores.
= Is it compatible with all WordPress themes? =
Yes. The plugin is designed to work with any standard WordPress theme.
= Does it work with variable products? =
Yes. Gift wrapping works with both Simple and Variable product types.
== Screenshots ==
1. Product Page – Gift Wrap Options (Frontend)
2. Cart Page – Gift Wrap Summary (Frontend)
3. Checkout Page – Gift Wrap Selection Display (Frontend)
4. Admin Panel – General Settings (Backend)
5. Admin Panel – Gift Notes Configuration (Backend)
6. Admin Panel – Display & Visual Settings (Backend)
== Support ==
Gift Pack for WooCommerce is developed and supported by IT Path Solutions.
If you have a question or need help, please use the WordPress support forum for this plugin. We monitor it regularly and aim to respond as quickly as possible.
= Ways you can support this plugin =
* **Rate the plugin:** If you find the plugin useful, please leave a review on the WordPress.org plugin page.
* **Report bugs:** If you find a bug, please report it on the support forum so we can fix it promptly.
* **Suggest features:** We welcome feature suggestions. Contact us with your ideas.
* **Submit translations:** Help us reach more users by submitting translations on WordPress Translate.
== Changelog ==
= 2.1.4 =
*Release Date: 29th May 2026*
* Fix – Corrected undefined variable `$giftpack_image_alt` causing PHP notices and missing alt attributes on gallery images.
* Fix – Added missing `ABSPATH` guard to the admin class file.
* Fix – Added nonce verification to the AJAX gift-wrap handler and sent nonce from all three JS AJAX call sites.
* Fix – Replaced invalid `esc_html_e('checked="checked"')` with the proper WordPress `checked()` helper on all 9 admin checkboxes.
= 2.1.3 =
*Release Date: 29th May 2026*
* Fix – Resolved PHP 8.2 deprecation notices for dynamic property creation on `$current_language` and `$gpfw_options`.
* Fix – Replaced inline `