24/7 Support: 800.608.6482

How To Guides

Due to Hurricane Milton, Miva’s technical support team will be operating at reduced capacity this week, which may cause delays. Miva store operations are unaffected.
Try our new AI assistant by clicking the chat icon in the lower right corner.

How To Guides

Residential Checkbox

Under Store Settings -> Customer Fields there is a new drop down for Residential Delivery. There are 3 choices:

Dropdown

This checkbox will show up during checkout. (see below)

Checkbox

Keep in mind that updating this setting will overwrite your OCST, ACED, ACAD, OSEL, INVC, OPAY page templates. You'll want to go into each of these pages and revert the "Custom Fields" area to the prior installation date.

To do this, go to each of the template pages, scroll down to "Custom Fields" area and revert it back one date (see image below), click "Recall" then click the "Update" button. Now manually add the code below to where you want your "Residential Address checkbox" to display.

Recall

Remember, If you forget to click the update button, your change will not take.

Update

Below is the template code that gets added if you choose either the "Default to Residential" or "Default to Company" options:

You want to paste the code in the Customer Fields box inbetween the end of the Ship to and Bill to Code. So scroll down until you see the last line of the Ship to and paste it after the closing div of that last tag.

Customer Fields

The example image below on the left is how the OSEL page display will be changed by the update. Once you recall the earlier version - it will revert to the format on the right.

OSEL

If you prefer to have the "Residential Address" show up under the "Ship to Phone Number" with the correct formatting, then you can go into the OSEL and OPAY templates under the "Customer Field" area and paste the following code under the code for the Phone number.

Code Checkout

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.