shopp_rmv_product()

remove a product from the catalog

shopp_rmv_product ( $product )

@param int $product the product id
@return bool true on success, false on failure

Description

remove a product from the catalog

Example

// Lookup product named 'My Product'
$product_id = shopp_product( 'My Product', 'name')->id;

// Remove product named 'My Product'
shopp_rmv_product( $product_id );

See Also

You must be logged in to post a comment.

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

Skip to toolbar