24/7 Support: 800.608.6482

Template Language

Custom Basket Fields

Custom Basket Fields are not created ahead of time in the admin like the rest of the custom fields above. Instead they are created and accessed using a robust set of functions available in the template language which allow you to create, read and write to custom basket fields. You can think of custom basket fields as an alternate for browser cookies. When you have shopper specific data you need to collect instead of saving it as a cookie, you can leverage custom basket fields to easily save the data to the database and read it back on any page, as long as the shopper has a active session.

Examples:

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.