WIPIVERSE All articles

MIVA Script

MIVA Script is a proprietary, server‑side scripting language designed for creating and managing e‑commerce web applications. It was originally developed by Miva, Inc. (formerly Miva Merchant) as part of its online shopping cart platform, Miva Merchant, which was first released in the mid‑1990s.

History

  • 1996–1999 – The language was introduced alongside early versions of Miva Merchant (initially called Miva), providing merchants with a way to customize shopping cart behavior, product catalogs, and checkout processes.
  • 2000s – MIVA Script became the primary means for extending Miva Merchant sites, supporting database interaction, conditional logic, and template rendering. During this period, the language was actively documented by Miva, Inc., and a community of developers shared scripts and modules.
  • 2010s – With the rise of newer, open‑source e‑commerce platforms (e.g., Magento, Shopify) and modern scripting languages (PHP, JavaScript/Node.js), the popularity of MIVA Script declined. Miva, Inc. introduced a newer framework, Miva Merchant 9, which still supports legacy MIVA Script but encourages the use of its newer Miva Script API and Miva Script 2.0 extensions.

Technical Characteristics

  • Syntax – resembles a blend of C‑style syntax and early scripting languages such as Perl. It includes constructs for variable declaration, loops, conditionals, and function definitions.
  • Database Access – provides built‑in functions for interfacing with MySQL databases, enabling dynamic retrieval and storage of product, order, and customer data.
  • Template Integration – allows embedding of script tags within HTML templates, facilitating the generation of dynamic pages without separate templating engines.
  • Security Model – includes sandboxing features that limit file system access and enforce permission checks for scripts executed within the Miva Merchant environment.

Usage

MIVA Script is primarily employed to:

  • Customize product displays, pricing rules, and promotional logic.
  • Implement custom checkout workflows and payment gateway integrations.
  • Develop administrative tools for inventory management and order processing.
  • Create reusable “modules” that can be distributed through the Miva Marketplace.

Current Status

Although still supported for backward compatibility, MIVA Script is no longer the primary development pathway for new Miva Merchant projects. Developers are encouraged to use the modern Miva Script API, which offers RESTful interfaces and language‑agnostic integration options.

References

  • Miva, Inc. Miva Merchant Documentation (archived versions, 1996–2022).
  • “Miva Script Language Overview,” Miva Developer Guide, version 9.0, Miva, Inc., 2020.

Note: Information presented reflects publicly available documentation and historical records up to 2026.

Browse

More topics to explore

    Browse all articles