| TemplatesHelperUpdateProduct Method |
Updates the specified product with live information from the ERP.
Namespace:
Dynamicweb.Ecommerce.LiveIntegration
Assembly:
Dynamicweb.Ecommerce.LiveIntegration (in Dynamicweb.Ecommerce.LiveIntegration.dll) Version: 3.0.1
Syntax public static bool UpdateProduct(
Product product,
double quantity,
bool updateCache = false
)
Public Shared Function UpdateProduct (
product As Product,
quantity As Double,
Optional updateCache As Boolean = false
) As Boolean
Parameters
- product
- Type: Dynamicweb.Ecommerce.ProductsProduct
The product. - quantity
- Type: SystemDouble
The quantity. - updateCache (Optional)
- Type: SystemBoolean
Update response cache.
Return Value
Type:
Booleantrue if product information was updated,
false otherwise.
See Also