set the details/specs on a product.

shopp_product_set_specs ( $product, $specs )

@param int $product (required) the product id to add the specs to.
@param array $specs (required) array of name/value pairs to add to the product
@return bool true on success, false on failure


Set the details/specs on a product


// Name value pairs for specs
$specs = array('pockets'=>2, 'drawstring'=>'yes','washable'=>'yes');

// Add specs to product 130
shopp_product_set_specs ( 130, $specs);

See Also

You must be logged in to post a comment.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.