24/7 Support: 800.608.6482

InventoryProductSettings_Update

MvDo Function, MVT, Miva Merchant 9+, Engine v5.22+

Tag / Description

<mvt:do file="g.Module_Feature_INV_DB" name="l.success" value="InventoryProductSettings_Update(inventoryproductsettings var)" />

Element Xpath Required Occurs Type Description
InventoryProductSettings_Update Yes 1 Container Node Top-level container.

InventoryProductSettings_Update

@product_code

Yes 1 Text Node Product code identifier.
InventoryProductSettings_Update/TrackProduct No 1 Boolean Node

Enable/disable product inventory tracking flag.

Inventory tracking must be enabled to set a product’s stock level.

yes = True value.

no = False value.

InventoryProductSettings_Update/CurrentStock Yes 1 Integer Node Set current stock level for product.

Parameters

Return Values

Examples

Looking for Developer Docs?

We have a whole section for that, including: Developer Training Series, Template Language docs, Module Development tutorials and much, much more.

Head to the Developer Section

Copyright © 1997 – 2025 Miva®, Miva Merchant®, MivaPay Vault®, Camp Miva®, Miva Connect®, Vexture℠, Miva, Inc. All Rights Reserved.