Product Administration Guide > Customizable Product Scripts >

RemoveItem Method


This method reduces the quantity of the specified item to 0 in the current solution. If multiple instances of an item have the same path, the eConfigurator engine randomly picks one of the instances and removes it.

Syntax

RemoveItem (ObjPath) as Integer

Argument
Description

ObjPath

String. The full path of the component product you want to remove. Use product path syntax to specify the path.

Items

Can be used only for component products within the customizable product.

Returns

Returns 1 if the item removal was successful. Returns 0 if the removal fails.

Example

For an example of using RemoveItem, see About Product Path.

Product Administration Guide