Sets the number of times the given product is present in the shopping cart.

This viper method also supports the extension viper syntax.

Syntax

Smartsite SXML CopyCode image Copy Code
this.setproductcount(string articleCode, integer count)

Extension Viper Syntax

Smartsite SXML CopyCode image Copy Code
page.<id>.setproductcount(string articleCode, integer count)

Parameters

Name Data Type Description
articleCode String The article code.
count Integer The count. Set count to zero to remove the item.

Return Value

None.

Used in

Macro Description
ShoppingCart Shopping Cart Macro.
SXML