24/7 Support: 800.608.6482

Reference Guide

Try our new AI assistant by clicking the chat icon in the lower right corner.

This Version is Out of Date

You can find the updated Miva 10 Reference Guide here

Data Management

Database Tools

Delete Shopping Baskets

Just like in a brick–and–mortar store, items that are in shopping baskets are removed from your inventory. It's fairly common, however, for customers to add products to their baskets but never complete the purchase. For example: a customer visits your store, adds products to their basket, then changes their minds and closes their browser. The products in that basket can't be purchased by anyone else. If enough products accumulate in abandoned baskets it can appear that your store has run out of those items.

You can prevent this from happening by:

But see also:

To Delete Expired Shopping Baskets

  1. Go to Menu> Data Management > Database Tools Tab.
  2. Click Delete Shopping Baskets.
  3. In the Delete Shopping Baskets screen, select:
    • Perform Module Cleanup Tasks: Some third party modules install and use their own tables in your store's database. If a third party module has been configured with some kind of table cleanup code, and you check this box and click the Delete button, it will cause the table cleanup code in that module to run.
    • Expired Shopping Baskets Only or All Shopping Baskets. In general you should only delete expired shopping baskets. An exception might be when you are certain the baskets aren't being used. For example, if your store is off-line, you might want to delete all baskets.
  4. Click the Delete button.

Pack Data Files

Clicking this button automatically starts a script which optimizes the database tables and improves performance. In general it should be done once a week, but if you have a very active store, you may want to click on this link more often. If you encounter any kind of server or database error while packing data files, please contact support.

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 – 2024 Miva®, Miva Merchant®, MivaPay®, MivaCon®, Camp Miva®, Miva Connect®, Miva, Inc. All Rights Reserved.