Changelog

6.0.2 – 1 June 2023

  • Finish standardizing templates between free and paid version of Gift Wrapper
  • Ensure that both plugins aren’t activated at same time, with friendly warning to WP user

6.0.1 – 27 May 2023

  • Remove call to showRemoveButton() in assets/v6/js/wcgwp-cart.js

6.0.0 – 27 May 2023

  • Remove ‘wcgwp_lt5_templates’ from options to lessen confusion going forward. Those still using <5.0 templates will need to set the 'wcgwp_lt5_templates' filter hook to TRUE.
  • Make sure all new Gift Wrapper settings are also deleted on install, if “Leave No Trace” setting is active
  • Remove old, erroneous SL cache key from database

6.0.0-beta3

  • Confirm compatibility with WooCommerce HPOS
  • Repair quotes in templates for Gift Wrapper setups where only one gift wrap product displayed

6.0.0-beta2

  • Better error handling for wcgwp-cart.js AJAX functions
  • AJAX clean up cart if everything but wrap removed
  • Update language files

6.0.0-beta1

  • AJAX add wrap to cart on cart/checkout pages allows for more prompt placements and better UX
  • Add option to update cart after wrap addition by AJAX
  • Use JS to allow more prompt locations on WC product pages
  • CartPops integration, as well as WC Composite Products and WooCommerce Product Bundles integration
  • Improved Elementor integration
  • Update EDD SL to version 1.9.2
  • Dash added after text domain .mo filename, e.g.: “/woocommerce-gift-wrapper-plus/woocommerce-gift-wrapper-plus-”

5.3.0 – 9 March 2022

  • Treat all product ID $_POSTs as arrays in includes/class-gift-wrapper-plus-product.php line 209-238
  • Small tweak in includes/class-gift-wrapper-plus-cart.php trying to correct an obscure price gremlin which happens for some people
  • Update the way ‘wrap_details’ string is handled, to mirror way all other strings are handled. May be a breaking change in some use cases, esp if theme template overrides are in place.
  • Use more specific selector to determine where cart has gift wrap to maybe remove. (Found conflict with other plugin that adds product meta)
  • Adjust the way note fees are sanitized, saved, and displayed (attempting to avoid decimal point errors in foreign currencies)
  • Make sure note fee is added to peri-cart wrap requests
  • Testing with WC v7.4

5.2.11 – 2 January 2022

  • Update assets/css/gwp-modal.css to reflect Bootstrap 5.3.0 updates and use more specific selectors to help avoid theme/plugin conflicts

5.2.11-beta2 – 21 December 2022

  • Ensure ‘woocommerce_add_cart_item_data’ hook doesn’t run more than once for Gift Wrapper

5.2.11-beta1 – 20 December 2022

  • Update language translation files
  • Save attribute wrap price in database using wc_format_decimal()

5.2.10 – 14 December 2022

  • Fix – Settings multiselect save sanitization where it might not be array
  • Fix – Gather cart item data where gift wrap product may or may not be an array

5.2.9 – 12 December 2022

  • Fix – Do not save product meta as array unless more than one product

5.2.8 – 11 December 2022

  • Tweak – prevent crash on activation where error logger not yet initiated

5.2.7 – 6 December 2022

  • Tweak – Software license and plugin update check – run on WP init with checks
  • Allow opt-in to auto plugin updates in Gift Wrapper settings

5.2.6 – 5 December 2022

  • Fix – Make “Are you sure you want to replace the gift wrap in your cart?” translatable before localizing
  • Fix – provide null value in line 487 includes/class-gift-wrapper-plus-cart.php
  • Fix – delete option ‘wcgwp_checkbox_textarea’ if it exists so it doesn’t reset textarea length on plugin deactivate/activate
  • Fix – templates/wcgwp/giftwrap-list-line-item.php template to send wrap selections as array (in case adding more than one)
  • Update EDD SL plugin add-on to v1.9.2

5.2.5 – 29 November 2022

  • Tweak – Template changes to improve image display on various devices

5.2.4 – 07 November 2022

  • Fix – error in JS minificaiton of assets/js/gwp-modal-product.js

5.2.3 – 07 November 2022

  • Fix for where checkbox is not showing on individual product pages
  • Fix for where “remove gift wrap” button not showing on cart items
  • Fix – check if input[0] exists first in assets/js/gwp-modal-product.js
  • Tweak – rename woocommerce_inactive_notice() function to prevent conflicts
  • Tweak – Gift wrap textarea limit in settings needs to default to 1000; empty value disrupts display

5.2.3-beta1 – 22 Sept 2022

  • Tweak – use did_action() in includes/class-gift-wrapper-plus-cart-item.php to avoid calculating cart totals (and adding gift wrap price + fees) more than once

5.2.2 – 7 September 2022

  • Fix – Remove deprecated jQuery from gwp-admin.js
  • Tweak – Tougher checks for WooCommerce, and check for WC wc_get_logger() function. Deactivate Gift Wrapper if active or function not present
  • Update EDD SL to version 1.9.1
  • Woodmart theme lazy load compatibility with Vanilla modal

5.2.1 – 20 July 2022

  • Fix – Cast option ‘wcgwp_display’ as array to prevent error on fetch during activation
  • Tweak – Woodmart theme lazy load compatibility with Vanilla modal

5.2.0 – 29 June 2022

  • Fix – If using plain modal on product page, clear selection if cancel is clicked
  • Tweak – Exclude self terms from gift wrap product settings category selection, because you can’t [or shouldn’t] wrap a product with itself
  • Tweak – Make per-product wrap settings interface more intuitive, with more feedback about conflicts and choices.
  • Tweak – Use less specific class identifier when looking to show Remove Gift Wrap button, because class is translatable
  • Feature – Override global exlusions by category in per-product wrap settings
  • Update Kane Cohen’s vanilla modal script (modal.min.js)

5.1.1 – 24 May 2022

  • Two submit buttons for line item wrapping include wrong language cue

5.1.0 – 19 May 2022

  • Text domain incorrect in many places, causing translations to fail
  • PHP 7.2 required, to mirror WooCommerce requirements

5.0.1 – 11 May 2022

  • Cast $_POST to array in class-gift-wrapper-plus-wrapping.php line 294 to fix intra-cart cart item (non-attribute) wrapping
  • Trial version readiness

5.0.0 – 14 April 2022

  • Fix – array container in auto_update_plugin hook, line 271 class-gift-wrapper-plus-wrapping.php
  • Fix – type casting (array) added in includes/class-gift-wrapper-plus-wrapping.php lines 213-215
  • Fix – plugin update API transient name should not include ‘_transient_’
  • Fix – Elementor template should take elementor settings, not global settings for “show_link”
  • Fix – Elementor template CSS enqueue media attribute isn’t boolean
  • Feature – by somewhat popular request, Gift Wrapper now allows multiple gift wraps PER product (in beta, alt modal could use refining)
  • Feature – Expand capability of line item-hooked wrap, so it can be built into other pages as well besides just cart, esp checkout
  • Feature – Default product category for single product page wrap can be set in product wrapping settings, and overwritten in per-product settings
  • Tweak – use HTTP referrer for redirects when adding wrap, in case someone adding wrap from non-WC cart/checkout page
  • Tweak – ‘wcgwp_allow_external_products’ boolean filter hook added in case for some reason someone wishes to use Gift Wrapper with external products
  • Tweak – more_wrap_allowed() method adjusted to better control for product vs. cart item settings
  • Tweak – Security updates – chiefly escaping output inside templates, but also no JS inlining
  • Tweak – Use future-safe `wc_get_products()` instead of `get_posts` to gather wrap products. This forces breaking changes to templates.
  • Tweak – Template product lists use flex instead of grid (CSS)
  • Tweak – Remove inlined script that forces CSS on cart_attribute/coupon-area wrap – unpredictable
  • Tweak – Update 3rd party Modal Vanilla script
  • Tweak – Update animate.css
  • Testing with PHP 8.1
  • Testing with WC 6.4

5.0.0-beta4 – 1 April 2022

  • Fix – array container in auto_update_plugin hook, line 271 class-gift-wrapper-plus-wrapping.php

5.0.0-beta3 – 24 March 2022

  • Fix – type casting (array) added in includes/class-gift-wrapper-plus-wrapping.php lines 213-215
  • Fix – plugin update API transient name should not include ‘_transient_’

5.0.0-beta2 – 21 March 2022

  • Feature – by somewhat popular request, Gift Wrapper now allows multiple gift wraps PER product (in beta, alt modal could use refining)
  • Tweak – ‘wcgwp_allow_external_products’ boolean filter hook added in case for some reason someone wishes to use Gift Wrapper with external products
  • Tweak – more_wrap_allowed() method adjusted to better control for product vs. cart item settings
  • Testing with WC 6.3

5.0.0-beta1 – 10 March 2022

  • Security updates – chiefly escaping output inside templates, but also no JS inlining
  • Use future-safe `wc_get_products()` instead of `get_posts` to gather wrap products. This forces breaking changes to templates.
  • Default product category for single product page wrap can be set in product wrapping settings, and overwritten in per-product settings
  • Expand capability of line item-hooked wrap, so it can be built into other pages as well besides just cart, esp checkout
  • Elementor template should take elementor settings, not global settings for “show_link”
  • Elementor template CSS enqueue media attribute isn’t boolean
  • Template product lists use flex instead of grid (CSS)
  • Remove inlined script that forces CSS on cart_attribute/coupon-area wrap – unpredictable
  • Update 3rd party Modal Vanilla script
  • Update animate.css
  • Testing with PHP 8.1

4.3.3 – 3 March 2022

  • Fix – Remove trailing comma inside includes/class-gift-wrapper-plus-settings.php line 180
  • Fix – Hide add wrap button on line items when they have wrap already
  • Tweak – Additional variable escaping in templates
  • Tweak – Remove Elementor templates – they are unnecessary and distracting
  • Tweak – Ensure settings-translated strings are available inside templates

4.3.2 – 1 March 2022

  • Update API server – no longer web.little-package.com, now www.giftwrapper.app
  • 4.3.1 – 23 February 2022

    • Product object variable name incorrect in templates/giftwrap-list-product.php

    4.3 – 15 February 2022

    • Feature – for all product wrapping (on product pages and inside the cart [line items]) – offer to use a separate
      gift wrap category. This would allow a shop to, for example, offer gift wrap from the product level, and a note at
      the cart level. Setting is under WooCommerce -> Settings -> Gift Wrapper -> Product Wrapping
    • Fix – If no note, then don’t charge note fee

    4.2.2 – 7 February 2022

    • Use product slug for $giftwrap_lable in templates to avoid issues with non-alphanumeric characters

    4.2.1 – 7 February 2022

    • Make sure AJAX URL variable unique in gwp-slide-cart-checkout.js

    4.2 – 2 February 2022 – Happy tutu day!

    • Fix – use isset() not empty() with $num in add_wrap()
    • Fix – some string translations not working
    • Tweak – end use of deprecated Elementor method `register_widget_type`
    • Tweak – integrate conditional inlined footer js into modal-cart-checkout.js and slide-cart-checkout.js
    • Tweak – better (more consistent) button styling
    • Tweak – this plugin is now called “Gift Wrapper Plus” and continues to serve WooCommerce users!

    4.1.3 – 20 January 2022

    • Fix – check for cart item arrray value before using in classes/wc-gift-wrapper-wrapping.php line 262

    4.1.2 – 11 January 2022

    • Fix – Gift wrap itself marked as un-wrappable in cart, which should be obvious
    • Fix – Some instances where is_plugin_active() is not defined
    • Tweak – use flexbox for .wc-giftwrap, add
      between wrap price and thumb

    4.1.1 – 20 December 2021

    • Tweak – Add product ID parameter to `giftwrap_single_virtual_products` filter hook

    4.1 – 13 December 2021

    • Feature (beta) – support for WooCommerce Composite Products
    • Tweak – remove peri-cart gift wrap prompts when wrappables removed from cart (AJAX)
    • Tweak – JS variable naming to prevent conflicts
    • Tweak – simplify is_wrappable checks and how virtual products are handled – individual product settings can override wrap for virtual products generally being off

    4.0.4 – 27 November 2021

    • Fix – Elementor users experience call to CSS file with bad location due to use of __FILE__ in plugins_url()
    • Tweak – Move Elementor widget loading to wp_loaded instead of plugins_loaded hook

    4.0.3 – 22 November 2021

    • Fix – Elementor users experience call to deprecated CSS file, breaking JS
    • Fix – Reinstate use of save_strings() esp for new users of plugin to avoid string offset warnings

    4.0.2 – 5 November 2021

    • Tweak – allow cart item wrapping and not product page wrapping, as vice versa is already allowed (in settings panel).

    4.0.1 – 1 November 2021

    • Fix – WCGWP function not found during Woo product save

    4.0 – 1 November 2021
    4.0 is a BREAKING RELEASE for previous WCGWP users with plugin customizations. Use backups and test test test before going live!

    • 4.0 includes all the updates listed under betas 1-7 below
    • Tweak – Positioning of coupon-area cart wrap prompt when cart is re-styled with floats
    • Tweak – If not more than one wrap per cart item allowed, don’t show prompt if already one added

    4.0-beta7 – 26 October 2021
    4.0-beta7 is possibly a breaking release esp. if you are using WCGWP templates or custom CSS.
    Make sure to review your products, cart and checkout pages!
    See beta releases in changelog below for further changes between version 3.2.2

    • Feature – allow a fee to be added for using note field, e.g. in case of free wrap and priced notecard?
    • Feature – WooCommerce settings tab for Gift Wrapper, to make settings easier to find
    • Feature – Settings section for language translations/adjustments, including more strings
    • Feature – Finally! Option to include gift note when using checkbox opt-in on product pages
    • Feature – if not more than one wrap allowed or wrap is set to 1 wrap per product, don’t show prompt if already wrapped
    • Tweak – if not more than one wrap per cart item allowed, don’t show prompt if already one added
    • Testing with WC 5.8

    4.0-beta6 – 26 Sept 2021

    • Fix – revert to PHP <8.0 compatibility

    4.0-beta5 – 22 Sept 2021
    4.0 is possibly a breaking release esp. if you are using WCGWP templates or custom CSS.
    Make sure to review your products, cart and checkout pages!
    See beta releases in changelog below for further changes between version 3.2.2

    • Feature – Elementor Pro widget compatible (must have pro for Elementor *WooCommerce* support)
    • Fix – show gift wrap selection in cart for checkbox/attribute-style wrapping
    • Tweak – “Cart/Checkout” gift wrap re-named “Order” wrapping to reflect what is actually going on. Per-product wrap is still called “Product” gift wrap.
    • Tweak – nonces added to frontend forms

    4.0-beta4 – 8 Sept 2021

    • Fix – Change to modal-cart-checkout.php template to avoid disrupting the DOM and strange CSS behavior making prices “appear” negative
    • Feature – Allow for different settings between cart and product as far as showing and linking thumbnails.
    • Tweak – Clarify settings pages language, esp around how to set wrap category and what cart/checkout wrap actually means (order wrap).
    • Tweak – Improvement to animate.css, especially for exit animations

    4.0-beta3 – 21 July 2021

    • Feature – ‘wcgwp_modal_checkout_template’ and ‘wcgwp_list_cart_checkout_template’ filters to allow for using alternative template, esp. when custom hooks are used in placement.

    4.0-beta2 – 7 July 2021

    • Feature – Cue in cart and on product pages when item cannot be gift wrapped. Can be turned on in general settings, and filtered using ‘wcgwp_cannot_wrap_notice’ hook

    4.0-beta1 – 2 July 2021
    4.0 is possibly a breaking release esp. if you are using WCGWP templates or custom CSS. Make sure to review your products, cart and checkout pages!

    • Tweak – Add ‘wcgwp_get_posts_args’ filter hook to allow for post argument filtering, e.g. in case of using alternative stock mgmt system
    • Tweak – Begin delicate and awkward cleanup of some WCGWP CSS and a dash of inline style for some predictability (using CSS grid)
    • Accessibility improvements, replace href link prompts with buttons. Take note! This means prompts previously styled as href links are now
    • Tweak – Remove need for preg_match() in add_giftwrap_to_product() method in wc-gift-wrapper-cart-item.php
    • Feature – Add “Remove Gift Wrap” prompts for after gift wrap is added as attribute in cart
    • Tweak – Don’t repeat product title twice in cart when simple checkbox giftwrap used.
    • Feature – show product parent relationship when simple checkbox wrap used for cart item wrap
    • Testing with WC 5.4

    3.2.2 – 22 March 2021

    • Fix – Line item signaling fixed (CSS re-included) so wrap/parent relationships are clear in UI
    • Tweak – Add ‘woocommerce-gift-wrapper’ textdomain to WP Language directory – localized
    • Testing with WC 5.1
    • Testing with WP 5.7

    3.3-beta1 – 8 March 2021

    • Testing with WC 5.0
    • Testing with WP 5.7
    • Feature – Provisions for adding gift wrap to cart items as attribute (handles 1:1 pricing natively)
    • Feature – Filter hooks ‘wcgwp_post_args’ and ‘wcgwp_wrap_posts’ added for handling of wrap lists acquired from WPDB
    • Fix – Do not show non-purchasable or out-of-stock wraps when showing wrap lists (several templates changed)
    • Tweak – Add ‘woocommerce-gift-wrapper’ textdomain to WP Language directory – localized
    • Tweak – clean up settings pages, hiding non-applicable settings with JS where possible

    3.2.1 – 1 Feb 2021

    • Fix – Save Gift Wrapper version if none set in update_db() method
    • Testing with WC 4.9.2

    3.2 – 29 Dec 2020

    • Feature – set max number of gift wraps possible for peri-cart/checkout wraps (not line item or per-product wrapping)
    • Fix – when singular wrap offering, don’t add gift wrap when not desired
    • Tweak – changes to assets/js/wcgwp-slide-product.js
    • Tweak – helpful CSS classes added to cart item row <tr> in cart

    3.1.2 – 24 Dec 2020

    • Tweak – Make “none” selection possible for modal CSS animations
    • Tweak – wcgwp/modal-single-product.php fix for undefined variable $singular_class
    • Tweak – wcgwp/modal-single-product.php remove $checked variable from input – gift wrap being added when not desired
    • Tweak – get_posts() arg changed from to ‘posts_per_page’ to ‘numberposts’ & ‘no_found_rows’ added for speed

    3.1.1 – 17 Dec 2020

    • Fix – for alternate-style modal: no default input selected on page load, causing wrap to be added when not requested
    • Tweak – load unminified scripts when ‘SCRIPT_DEBUG’ set in wp-config.php

    3.1 – 14 Dec 2020

    • Feature – do not show textarea if textarea length set to 0 (zero) in Gift Wrapper settings
    • Feature – Some support for Woocommerce Product Bundles (https://woocommerce.com/products/product-bundles/) in cart and for YITH Woo Product Bundles single product (attribute) wrap
    • Fix – Save string values if they don’t exist before admin menu page loaded, rather than on plugin upgrade to avoid missing text values on front end
    • Tweak – add version numbers to enqueued JS
    • Testing with WooCommerce version 4.8

    3.0.2 – 1 Dec 2020

    • Fix – Define wcgwpAnimate when NOT using animations
    • Tweak – remove incorrectly labeled classes from wc-giftwrap div
    • Tweak – additional CSS for Shopkeeper and The Retailer theme to try to help catch display issues

    3.0.1 – Nov 28 2020

    • Fix – add_cart_item_data() method is not static in classes/wc-gift-wrapper-product.php
    • Tweak – no inline JS for admin (product gift wrap) settings pages
    • Tweak – sanitize license key input
    • Tweak – more PHPDoc block improvements

    3.0 – Nov 24 2020

    • Fix – minor naming issues in template headers, referring users to correct file names
    • Tweak – how jQuery is included when enqueuing scripts which require it (just call it a dependency, don’t wp_enqueue it)
    • Please clear your browser caches between version 2 and 3, especially if using Gift Wrapper template overrides.

    3.0-beta2 – Nov 16 2020
    This is a BETA release. Especially if you are using templates, be aware this could be a breaking update. Most all of the overrideable templates have changed, and several have been deprecated. Take backups, and use caution installing it on production sites.

    • Fix – modal prompt not working in line item wrap when only one wrap offering
    • Tweak – refactoring of the following templates: templates/wcgwp/modal-cart-checkout.php, modal-cart-item.php, modal-single-product.php
    • Tweak – PHPDoc block improvements
    • Testing to WC version 4.7
    • 3.0-beta1 – Nov 11 2020
      This is a BETA release. Especially if you are using templates, be aware this could be a breaking update. Most all of the overrideable templates have changed, and several have been deprecated. Take backups, and use caution installing it on production sites.

      • Feature – Optionally use one of over 1500 modal entrance/exit animation combinations using animate.css
      • Feature – allow some basic HTML in string translations
      • Feature – For UX, make image of wrap next to radio button clickable if not already a link to product
      • Tweak – Use Kane Cohen’s https://github.com/KaneCohen/modal-vanilla modal instead of Bootstrap JS. Modals no longer require jQuery to function and this avoids Bootstrap conflicts.
      • Tweak – Include fresh copy of Bootstrap modal CSS; modal z-index increased
      • Tweak – move most all JavaScript to enqueued files instead of using templates for JS. Templates cart-slideout-js.php, checkout-slideout-js.php, slideout-js.php are deprecated and will eventually be removed.
      • Tweak – Set DB options autoload to FALSE
      • Tweak – More sanitization of strings before output

      2.5.4 – Nov 11 2020

      • Same as 2.5.3, except tiny changes: remove echo’d variable from admin plugin update screen, update Beta language on license settings page

      2.5.3 – Nov 11 2020

      • Fix – bug in checking for option to receive automatic alerts about beta versions.
      • Compatibility with WC 4.7 confirmed

      2.5.2 – Nov 5 2020

      • Compatibility with WPML
      • Remove unused code and refactor in classes/wc-gift-wrapper-settings-plus.php and classes/wc-gift-wrapper-settings-product.php
      • Remove orphan translation string “Add Gift Wrap Note to Order?”
      • Remove deprecated/unused templates (modal-coupon-header.php and modal-coupon.php)
      • Added dismissable notice to warn template users of changes with version 3.0

      2.5.1 – Oct 4 2020

      • Fix – templates/wcgwp/giftwrap-list-line-item.php template improperly renaming important $count variable
      • Testing with WooCommerce 4.5

      2.5 – August 4 2020

      • Easy settings panel created for string translations (for users who cannot translate for WP or use templates)
      • Be aware most templates have been updated. To get the newest features, update your templates if you have modified them in your (child) theme.
      • Alternate modal styles now possible with thumbnails taking place of radio buttons, you can switch to the new style using the settings panel
      • Wrap thumbnails now have image “alt” tag
      • Language file updates
      • Testing with WP 5.5

      2.4.2 July 14 2020

      • Tweak to version 2.4.1 – No betas unless betas requested, but $shortname wasn’t defined (not needed)

      2.4.1 July 13 2020

      • Tweak – remove use of anonymous function for gift wrap placements in cart and checkout areas, allows users to move hooks
      • Tweak – No betas unless betas requested!
      • Testing to WC version 4.3

      2.4 May 14 2020

      • Feature – beta version checks (opt in at Settings -> Gift Wrapper license)
      • Feature – compatibility with WooCommerce mix-n-match extension plugin (wrap attributes not added to each child mix-n-match product)
      • Tweak – do not force add wrap to cart when only one wrap selection and modal on single product page, use (hidden) checkbox not radio button
      • Tweak – update Software Licensing to version 1.6.19

      2.3.2 April 7 2020

      • Fix – Software license not calling home because not sending valid key

      2.3.1 April 3 2020

      • Fix – per-product line item wrapping not acknowledging overrides of wrap category
      • Fix – enqueue Bootstrap for single product page when modal desired
      • Fix – Required WooCommerce version is 3.0 not 5.4

      2.3 March 24 2020

      • Release. Please stay healthy and be safe!
      • Feature – Woo admin notices when template files are updated by plugin author
      • Fix – Don’t show gift wrapping prompt/options on individual product pages for excluded categories
      • Fix – Clear removed cart items session before adding line-item or single product page wraps, otherwise old removed items re-appear in cart with wrapped item
      • Tweak – clarify settings pages to help differentiate between per-order and per-product wrapping options
      • Tweak – more checks on wp action hook to make sure wrap functions should execute
      • Tweak – use new template for cart/checkout wrapping which allows more granular control of output: giftwrap-list-cart-checkout.php
      • NOTE: template giftwrap-list-cart.php is DEPRECATED. Please use template giftwrap-list-cart-checkout.php instead.

      2.3-beta3 March 3 2020

      • Tweak – 2.3-beta2 feature altered to accept an array of (one or more than one) product IDs

      2.3-beta2 March 2 2020

      • Feature – On per-product (product page) wrapping, allow admin to set a specific gift wrap Woo product, rather than a category.

      2.3-beta1 Feb 14 2020

      • Feature – modal on product pages for individual products, complete with template
      • Feature – line item wrap for product page wrapping, to allow separate tax rates, inventory, etc.
      • Feature – more control over how many wraps are allowed for each product
      • Feature – added plugin beta version support, option found at /edit.php?post_type=download&page=edd-tools&tab=betas
      • Feature – Woocommerce cart item style gift wrapping from single product pages (as long as redirect-to-cart Woo setting is OFF)
      • Fix – if deleted item with wrap added back to cart, restore its previous quantity
      • Tweak – improvement to wp-admin Per Product settings page for better comprehension
      • Tweak – possibly breaking template change /templates/wcgwp/replace-wrap-js.php
      • Tweak – Improve autoloader
      • Tweak – selective script loading front- and backend to improve performance
      • New templates modal-product.php and modal-product-js.php for Bootstrap modal in product pages

      2.2.1 December 5 2019

      • Fix – conditional in /classes/class-gift-wrapper-line-item.php interferes with line item slideouts
      • Feature – filter hooks ‘wcgwp_add_wrap_prompt’, ‘wcgwp_add_wrap_message’, and ‘wcgwp_add_wrap_button_text’ added to assist in translations (translation files and templates also available)

      2.2.0 – December 3 2019

      • Important note: the following templates changed with version 2.2:
        · giftwrap-list-cart.php,
        · giftwrap-list-line-item.php,
        · giftwrap-list-product.php,
        · modal-coupon.php,
        · modal-line-item.php,
        · cart-slideout-js.php,
        · slideout-js.php
      • Feature – add note for admin to re-affirm which wrap goes with which line item
      • Fix – remove “#” action from line item wrap forms (in templates) to prevent items being added back to cart after removed
      • Fix – add Post/Redirect/Get to peri-cart/peri-checkout wrapping so wrap is not added back to cart after delete + page refresh
      • Fix – styling for simple/single product gift wrapping if modal turned on for per-cart/peri-checkout and line-item wrapping
      • Fix – don’t automatically add wrap to cart on product page when only one wrap option available
      • Fix – don’t offer to gift wrap gift wrap on its product page
      • Tweak – Woocommerce gift wrap order item meta stored in consistent key values ( wcgwp_selection, wcgwp_note, wcgwp_parent_name, wcgwp_price ) in DB to make per-item queries simpler
      • Tweak – Do not remove customer’s tentative pre-submit input when closing cart JS slideouts – could be discouraging

      2.1.3 – November 22 2019

      • Fix – stripslashes for customer input in cart/checkout
      • Compatibility with WC 3.8

      2.1.2 – October 10 2019

      • Tweak – install new license API manager (Easy Digital Downloads “Sofware License”)
      • Tweak – delete duplicate instance of LNT checkbox (deletes all WCGWP data upon uninstall if checked, now only in one location)

      2.1.1 – October 1 2019

      • Fix – show slideout JS in all cases where modal not in use

      2.1 – October 1 2019

      • Feature – add “after checkout” location for gift wrap prompts
      • Tweak – add “none” selection for multiselect on cart/checkout settings page, for if no location desired/selected
      • Tweak – error catching for if admin hasn’t set wrap category yet but wants wrap displayed
      • Tweak – move plugin action links hook (for settings links on plugin listing page) to register activation hook not admin_init

      2.0 – September 19 2019
      This a BREAKING update if you are using Gift Wrapper templates. Please review template changes carefully before going into production with it.

      • Feature – store inline cart gift wrap items as separate products in order to allow for inventory, refunds, etc.
      • Feature – sort and style inline cart wrap products with parent products in cart, mini cart, and order review
      • Feature – (beta) control number of gift wrap added to each product, 1:1 ratio, 1:x ratio, or ad-lib (free quantity ratios)
      • Feature: ‘wcgwp_remove_cod_gateway’ boolean filter hook in case COD not wanted with wrap in cart/order
      • Feature – Initiate versioning for templates (until notifications set up, keep a close eye on versions!)
      • Feature – CSS class for table row and list line items containing gift wrap, with arrow to show wrap product association
      • Feature – Don’t show note meta in cart if no note added (to assists folks using this plugin in other ways)
      • Feature – Further data sanitization for security
      • Fix – don’t link thumbnails to gift wrap products in order review if not desired
      • Tweak – don’t show Gift Wrapping options on product page representing Gift Wrap
      • Tweak – expand category exclusion to line items in cart/checkout, not just single product pages
      • Tweak – if per-product override of gift-wrapping exclusion, honor it
      • Tweak – Don’t show radio boxes in single product page gift wrap if only one gift wrap selection
      • Tweak – Remove need for use of redundant-seeming templates /templates/wcgwp/modal-coupon.php and /templates/wcgwp/modal-coupon-header.php (these are deprecated, use /templates/wcgwp/modal.php)
      • Tweak – Stop checkout slide-out JS loading on order received page also
      • Tweak – Stop using html form inside html form for line-item (non-modal) cart gift-wrapping
      • Compatibility with WC 3.7

      September 6 2019 – 2.0-beta
      (available for download from your account page Sept 10 2019
      This is a stable beta but we need more time for writing documentation on it before release. It is also a BREAKING update if you are using Gift Wrapper templates. Please review template changes carefully before going production with it.

      • Feature – store inline cart gift wrap items as separate products in order to allow for inventory, refunds, etc.
      • Feature – sort and style inline cart wrap products with parent products in cart, mini cart, and order review
      • Feature – (beta) control number of gift wrap added to each product, 1:1 ratio, 1:x ratio, or ad-lib (free quantity ratios)
      • Fix – don’t link thumbnails to gift wrap products in order review if not desired
      • Tweak – don’t show Gift Wrapping options on product page representing Gift Wrap
      • Tweak – expand category exclusion to line items in cart/checkout, not just single product pages
      • Tweak – if per-product override of gift-wrapping exclusion, honor it
      • CSS class for table row and list line items containing gift wrap, with arrow to show wrap product association
      • Initiate versioning for templates (until notifications set up, keep a close eye on versions!)
      • Don’t show radio boxes in single product page gift wrap if only one gift wrap selection
      • Don’t show note meta in cart if no note added (to assists folks using this plugin in other ways)
      • Further data sanitization for security
      • Compatibility with WC 3.7

      July 27 2019 – 1.1.1
      * Update API server – no longer www.little-package.com, now web.little-package.com

      March 29 2019 – 1.1
      * Feature – ‘wcgwp_modal_size’ filter hook for adjusting modal size
      * Feature – handy link to license settings in plugins list
      * Feature – German translation added (thank you Dorothea N)
      * Tweak – Update Bootstrap modal css to version 4.3.1
      * Tweak – unique CSS IDs for line item textareas in cart
      * Tweak – use aria-hidden for JS gift wrap (non-modal) slideouts
      * Fix – also add user note to giftwrap selection in line item slideout

      Feb 24 2019 – 1.0.2
      Fix – if only one giftwrap product and non-simple (checkbox) option checked, do not add giftwrap to cart unless selected

      Feb 22 2019 – 1.0.1
      Tweak – how “Giftwrap Details” is managed – for those with difficulty translating it

      Jan 2019 – 1.0
      Initial release

    To top