_wpsc_ajax_add_variation_set

Add new variation set via AJAX.

Description

(array) _wpsc_ajax_add_variation_set(); 

If the variation set name is the same as an existing variation set, the children variant terms will be added inside that existing set.

Returns (array)

Response args


Usage

  1. if ( !function_exists( '_wpsc_ajax_add_variation_set' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'wp-ecommerce/wpsc-admin/ajax.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = _wpsc_ajax_add_variation_set(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/wpsc-admin/ajax.php