24/7 Support: 800.608.6482

Code Samples | Variant Price Range

This code will loop though all variants and set variables with the highest price variant and the lowest price variant. Pricing must be defined at variant level.

Functions Used

Product_Load_Code
CommonComponentFields_Initialize_Product_Discounts_Runtime
CurrencyModule_AddFormatting

Keywords

Load High / Low Price Range for a Product with Attributes (pricing at attribute level)

Language

Template Language

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 – 2026 Miva®, Miva Merchant®, MivaPay Vault®, Camp Miva®, Miva Connect®, Vexture℠, Miva, Inc. All Rights Reserved.