For use with WooCommerce Subscriptions Gifting.
Install and activate this plugin. It will auto-check the gifting checkbox on product pages.
This plugin was built while WC 3.4.2 and WCSG 2.0.1 were current, and have not been tested on any other versions. Use at own risk.
To install:
- Download the latest version of the plugin here
- Go to Plugins > Add New > Upload administration screen on your WordPress site
- Select the ZIP file you just downloaded
- Click Install Now
- Click Activate
By default, once you activate this plugin, it will automatically check the Gifting checkbox on all pages. If you want to check it only on some spefific pages, you'll need to add this constant on wp-config.php file:
define( 'WCSG_PAGES_TO_CHECK', array( 1, 2, 3 ) );
Each of these numbers (1,2,3) is the ID of a page where this checkbox will be checked.
If you find a problem or would like to request this plugin be extended, please open a new Issue.