Syntax

updateUpsells( product_id, upsells )

Saves the upsells for a Digistore24 product.

Access rights

Full access required.

Arguments

product_id – the numerical ID of the product.

upsells – an assiociative array of upsell positions and product IDs – as returned by getUpsells.

Return data

is_modified = Y/N – indicates whether the upsell tree has been changed.