set or unset packaging override product setting.

shopp_product_set_packaging ( $product, $flag )

@param int $product (required) the product id
@param bool $flag (optional default:false) true to set separate packaging on the product, false to let default packaging take place
@return bool true on success, false on failure


set or unset packaging override product setting.

When enabled, packaging for the product is handled separately. In other words, the product will always ship in a package by itself when enabled. This setting is only used when the store has a real-time shipping rates calculator which supports the Shopp packager class, such as FedEx, USPS, UPS, Canada Post, Australia Post, etc.


// each product 25 must be shipped alone
shopp_product_set_packaging ( 25, true );

See Also

You must be logged in to post a comment.

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