-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
executable file
·25 lines (18 loc) · 1.21 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
=== WooCommerce Composite Products - JS API Boilerplate ===
Contributors: franticpsyx, SomewhereWarm
Tags: woocommerce, composite, products, conditional, components, scenario, action, custom
Requires at least: 3.8
Tested up to: 4.4
Stable tag: 1.0.0
WC requires at least: 2.3
WC tested up to: 2.5
License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
WooCommerce Composite Products JS API boilerplate.
== Description ==
To bootstrap a custom script in order to use the Composite Products API, it is recommended to use the 'wc-composite-initializing' jQuery event, which passes a reference to the WC_CP_Composite object instance associated with the displayed Composite product. Once you have obtained a reference to the WC_CP_Composite object instance, you can start interacting with the app. This plugin is a working example that you can use as a boilerplate for writing plugins on top of the Composite Products JS API.
Requires Composite Products v3.6+.
== Installation ==
1. Install the latest versions of WooCommerce and WooCommerce Composite Products.
2. Upload the plugin to the **/wp-content/plugins/** directory.
3. Activate the plugin through the **Plugins** menu in WordPress.