Can't find what you're looking for? Try our AI Chat Bot in the bottom right corner!

Articles in this section

Residential Checkbox

Residential Checkbox

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

  • Automatic: Which determines the ShipResidential automatically. This is based off if the company field is filled in our not.
  • Prompt, Default to Residential: Will add Address Residential template code and default to checked
  • Prompt, Default to Company: Will add Address Residential template code and default to not checked

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:

Copy
<div class="&mvte:global:ShipResidential_Row;"> <label class="italic" for="ShipResidential"></label> <mvt:if expr="g.ShipResidential"> <input type="checkbox" name="ShipResidential" id="ShipResidential" value="1" checked /> <mvt:else> <input type="checkbox" name="ShipResidential" id="ShipResidential" value="1" /> </mvt:if> <span class="italic">Address is a Residence</span></div>

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.

Copy
<mvt:if expr="g.Basket:ship_res"><br />Residential Address</mvt:if>

Code Checkout

Was this article helpful?
0 out of 0 found this helpful