24/7 Support: 800.608.6482

Reference Guide

This Version is Out of Date

You can find the updated Miva 10 Reference Guide here

Utilities

Shipping Estimate

The shipping estimate feature allows customers to get shipping estimates for their current basket, or for individual products, without having to start the checkout process. You can add this feature to any page in your store, but it's usually added to the Product (PROD) and Basket (BASK) pages.

To Enable the Shipping Estimate Feature

  1. Add the module.
  2. 1.1. Go to Menu> Utilities > Add/Remove Modules tab.

    1.2. In the Available Modules section, click on the Install button under Shipping Estimate.

  3. Modify your template code.
  4. Most store owners add the Shipping Estimate feature to the Basket page (BASK), or the Product page (PROD).

    2.1. Go to Menu> User Interface > Pages tab > Edit page BASK or PROD > Page tab > Template field.

    2.2. If you are editing the BASK page: We need to add a line of template code that will determine where the Shipping Estimate link will show up in our on-line store page. In our example, we'll modify the template code so that the Shipping Estimate link shows up below the PayPal button

    2.2.1. Search for the line in the template field that contains the string "PaypalExButton".

    2.2.2. Below the line for the PayPal button, add this code:

    2.2.3. Click Update.

    2.3. If you are editing the PROD page:

    2.3.1. Search for the line:

    2.3.2. Replace it with:

    2.3.3. Click Update.

  5. Assign the Shipping Estimate Item.
  6. 3.1. Go to Menu> User Interface > Items tab.

    3.2. Search for the item: shipestimate

    Note that we are not looking for the item: shipestimate_rates

    3.3. Edit the item shipestimate and select the Pages tab.

    3.4. Assign shipestimate to page BASK or PROD (or both).

    Basket Product

    To Configure Shipping Estimate

    Assuming that you added the Shipping Estimate feature to either page BASK or page PROD: Go to Menu> User Interface > Pages tab > Edit page BASK or PROD > Shipping Estimate tab.

    Mode: Set this field to Entire Basket if you are editing the Basket (BASK) page. Set this field to Single Product if you are editing the Product (PROD) page.

    Address Fields: Whatever fields you select here will appear in the Shipping Estimate popup in your on-line store.

    Packaging Rules

    Results Display:

    • If you choose "Open in a New Window", when the customer clicks on the Calculate Shipping button a new browser window will open and display the shipping estimates.
    • If you choose "Place in Element", when the customer clicks on the Calculate Shipping button the shipping estimates will display in the current window.

    Results Page: If you set Results Display to "Open in a New Window", use this field to select the page that you want to use to display the shipping estimates.

    For example, if you set Results Page to SERT (Shipping Estimate Rates), when the customer clicks on the Calculate Shipping button, a new browser window will open and display the Shipping Estimate Rates page along with the shipping estimates.

    Shipping Countries: If you want a list of countries to appear in the Calculate Shipping dialog box:

    1. In Address Fields, select the Shipping Country checkbox.
    2. In the Shipping Countries field, select the list of countries you want to appear in the Country drop-down list.

    Notes: Please see Appendix 2: Common Fields in the Admin Interface.

    Versions: Recall:, Clear:, History:, Advanced Mode: Click on the advanced mode to display the template code field that controls the Shipping Estimate popup.

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

This website uses cookies to identify visitors, track visitors to our website, store login session information and to remember your user preferences. By continuing to use this site you agree to our use of cookies. Learn More.

This website uses cookies. By continuing to use this site you agree to our use of cookies. Learn More.

Accept

Copyright © 1997 – 2024 Miva®, Miva Merchant®, MivaPay®, MivaCon®, Camp Miva®, Miva Connect®, Miva, Inc. All Rights Reserved.