Skip to content

jrick1229/wcsg-auto-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WooCommerce Subscriptions Gifting - Auto-Check

For use with WooCommerce Subscriptions Gifting.

Install and activate this plugin. It will auto-check the gifting checkbox on product pages.

Requirements

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.

Installation

To install:

  1. Download the latest version of the plugin here
  2. Go to Plugins > Add New > Upload administration screen on your WordPress site
  3. Select the ZIP file you just downloaded
  4. Click Install Now
  5. Click Activate

Instructions

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.

Reporting Issues

If you find a problem or would like to request this plugin be extended, please open a new Issue.