_wpsc_ajax_set_variation_product_thumbnail

The WP eCommerce wpsc ajax set variation product thumbnail function.

Description

(array) _wpsc_ajax_set_variation_product_thumbnail(); 

Returns (array)

$response Includes the thumbnail URL and success bool value


Usage

  1. if ( !function_exists( '_wpsc_ajax_set_variation_product_thumbnail' ) ) { 
  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_set_variation_product_thumbnail(); 
  7.  

Defined (1)

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

/wpsc-admin/ajax.php