Click or drag to resize

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
)

Parameters

product
Type: Dynamicweb.Ecommerce.ProductsProduct
The product.
quantity
Type: SystemDouble
The quantity.
updateCache (Optional)
Type: SystemBoolean
Update response cache.

Return Value

Type: Boolean
true if product information was updated, false otherwise.
See Also