For applying Multi-Ship to your store you probably wouldn’t want to hard-code the different ''shipto'' values as in the example above, but instead let the customer enter their own custom values and have the dropdown remember those. We recommend [[:integration:foxycart:multiship_javascript_2|a quick bit of javascript]] (results of which is displayed below) to keep ''shipto'' values consistent and easy to manage for your customers.
{{ :v:0.7.0:multiship.site.png?direct |Selecting a "shipto" address for a product.}}
With Multi-Ship enabled for your store, you'll notice that [[.:cart|your cart]] now displays products grouped by "ship to" headings, and [[.:checkout|the checkout]] (displayed below) also has different functionality in the shipping address section.
{{ :v:2.0:multiship_2.jpg?direct&500 |A shipping address selection for a multi-ship checkout.}}
Each ''shipto'' address can accept [[.:cheat_sheet#checkout_placeholders|custom fields per ''shipto'']] (as displayed above), and each ''shipto'' section will receive its own [[.:shipping|shipping options]] as configured for your store. It also will display a per-shipto subtotal, and all of this will be reflected in the [[.:emails|email receipts]] as well.
Worth noting is that, like all product options, a ''shipto'' value cannot be changed on a product once it is in the cart. Products can be removed and re-added, but not modified, so you'll want to make it easy for your customers to view their cart in order to remove products as necessary.
===== Custom Address Fields for MultiShip =====
Just like [[.:checkout#adding_custom_checkout_fields|normal custom checkout fields]], you can add additional custom fields //per shipping address// on the checkout. Just add the extra code in the appropriate section of the template configuration options in the admin, and the rest happens fairly automagically. It'll look something like this:
{{ https://www.evernote.com/shard/s1/sh/944aa3a7-6bdb-4788-a231-fefe0d280c29/472a6b88613fda7e123d6e7d264c46e8/deep/0/The-Man-Can!-Stuff-Secure-Checkout.png }}
Here's some sample code for adding a referral source for each shipto address:
Please let us know who referred you.