MvDo Function, MVT, Miva Merchant 9+, Engine v5.22+
<mvt:do file="g.Module_Feature_SHP_DB" name="l.success" value="ProductShippingRules_Update(productshippingrules var)" />
"
This function is used to update a product's shipping rule settings in Miva. All parameters are optional. The product you want to update can be specified using Product_ID, Product_Code, Edit_Product or Product_SKU. Available in version 10.08.03 and newer.
| product_id | Type: Number |
Title: Product |
This is the product id of the product you wish to update. |
| product_code | Type: String |
Title: Product Code |
[optional]This is the product code of the product you wish to update. |
| product_sku | Type: String |
Title: Product SKU |
[optional]This is the product SKU of the product you wish to update. |
| ShipsInOwnPackaging | Type: boolean |
Title: Own Package |
[optional] Product Always Ships in Separate Packaging |
| Width | Type: number |
Title: Package Width |
[optional] Maximum 10 digits before decimal and 2 digits after decimal |
| Length | Type: number |
Title: Package Length |
[optional] Maximum 10 digits before decimal and 2 digits after decimal |
| Height | Type: number |
Title: Package Height |
[optional] Maximum 10 digits before decimal and 2 digits after decimal |
| LimitShippingMethods | Type: boolean |
Title: Package Height |
[optional] Limit shipping methods |
| ShippingMethods | Type: object |
Title: Shipping Methods |
[optional] Shipping methods to restrict |
| ShippingMethods.module_code | Type: string |
Title: module code |
[optional] Shipping Method module code |
| ShippingMethods.method_code | Type: string |
Title: Method Code |
[optional] Shipping Method code |
| success | Type: boolean |
Title: Success |
boolean value for if the request was successful |
productshippingrules var