24/7 Support: 800.608.6482

Get Started

Developer Docs


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

Tag / Description

<mvt:do file="g.Module_Root $ '/modules/discount/buyxgety.mvc'" name="l.success" value="BuyXGetY_QuantityRemaining_Decrement(pricegroup var, product_id, variant_id, items var, item_count, quantity_remaining var, amount)" />


  • pricegroup var

  • product_id

  • variant_id

  • items var

  • item_count

  • quantity_remaining var

  • amount

Return Values


Miva believes that all online businesses should have access to a scalable ecommerce platform that can meet their unique business requirements. Miva offers PCI compliant ecommerce, hosting, and custom website design and development solutions. Miva customers have processed over $100 billion in online sales since 1997.

Copyright © 2016 Miva, Inc - All Rights Reserved   Privacy Policy | Store Policy

Contact Us
Receive Tips & Updates

Copyright © 2017 Miva, Inc - All Rights Reserved

Back To The Top