MvDo Function, MVT, Miva Merchant 9+, Engine v5.22+
<mvt:do file="g.Module_Library_DB" name="l.success" value="ProductVariantPricing_Update(productvariantpricing var)" />
This function updates the variant pricing.
store_code | Type: String |
Title: Store Code |
Store code to run the function against. Found in the Miva Admin under Settings > Store Details |
function | Type: String |
Title: Product Variant Pricing Update |
The name of the function being executed |
product_id | Type: Number |
Title: Product ID |
The id number of the product |
variant_id | Type: Number |
Title: Variant ID |
The variant id of the product |
method | Type: Number/String |
Title: Variant Pricing Method |
0=master 1=specific 2=sum |
price | Type: Number |
Title: Variant Price |
[optional] The variant price |
cost | Type: Number |
Title: Variant Cost |
[optional] The variant cost |
weight | Type: Number |
Title: Variant weight |
[optional] The weight of the variant |
success | Type: Boolean |
Title: Status Response |
Boolean value indicating if the api request was successful |
product_id | Type: Number |
Title: Product ID |
The product id for the variant |
variant_id | Type: Number |
Title: Variant ID |
The new variant id |
productvariantpricing var