The Customer Pickup Control allows you to add customer pickup shipping options. Each pickup option can have a unique name, address and fixed shipping cost.
Follow these steps to install the Customer Pickup Control:
| Some stores are configured to use a separate bin directory for secure checkout pages such as Shipping.aspx. If your store is configured this way, copy the files from the bin directory of the Customer Pickup Control folder to the secure bin directory of your web site. |
| Do not keep backup copies of files that end with the ".vb" extension anywhere in the store directory tree. This will confuse the compiler and prevent these modifications from taking effect. |
<%@ Register TagPrefix= "sfaddons" Namespace=
"StructuredSolutions.StoreFront7.WebControls"
Assembly="StructuredSolutions.StoreFront7.WebControls.CustomerPickup" %> |
<form id=Form2 method=post runat="server"> |
<form id=Form2 method=post runat="server"> |
<%@ Register TagPrefix="sfaddons1"
Namespace="StructuredSolutions.StoreFront7.WebControls"
Assembly="StructuredSolutions.StoreFront7.WebControls.CustomerPickup" %> |
<form id=Form2 method=post runat="server"> |
<form id=Form2 method=post runat="server"> |
This completes the typical installation that supports shipping the entire order to a single location. If you allow shipping to multiple addresses, then complete the following steps.
objAddressLabel.AddressSource =
objMultiShip.GetAddress(objDropDown.SelectedItem.Value, m_objcustomer) |
'=================================================== |
Customer Pickup options are displayed on the Shipping (Shipping.aspx) and Multiple Address Shipping (MultiShip.aspx) pages as additional addresses in the "Ship To:" drop down list. By default, each pickup option will be labeled "Customer Pickup", but you can change this using the NickName attribute. The pickup address will be displayed as a standard address, although the customer will not be able edit the component parts such as City or State.
When the customer reaches the Shipping Summary (ShipSummary.aspx) page, each pickup location will labeled "Customer Pickup" (in the lblBackupShip label). If there is a cost associated with the pickup location this is also shown. For example "Customer Pickup ($5.95)". All other shipping options are hidden.
In the confirmation emails and order detail pages, each pickup location will have the shipping carrier set to "PICKUP" and the shipping method set to "Customer Pickup".
The <sfaddons:CustomerPickup> tag is used in the Shipping.aspx,
MultiShip.aspx, and ShipSummary.aspx pages to add customer pickup
shipping locations. The table below lists the attributes that can be added to
the <sfaddons:CustomerPickup> tag to define the pickup
location. Multiple attributes can be specified just like they are for standard
HTML tags like <table>. Moreover, you do not need to
recompile your store to see your changes. Just save your change and reload the
page in your browser. This makes experimenting very easy.
Most of the attributes below are used to create the pickup address. To pass the verification routines of the Shipping.aspx and MultiShip.aspx pages, at least the following address fields must be defined for each pickup location: Address1, City, State, Country, Email, and Phone.
| Attribute | Description | Example |
| Address1 |
First line of the street address for the pickup location. Default: no default |
To specify a street address for the pickup location:
|
| Address2 |
Second line of the street address for the pickup location. Default: no default |
To specify a suite number for the pickup location:
|
| City |
The city of the pickup location. Default: no default |
To specify the city of the pickup location:
|
| Company |
The company name for the pickup location. Default: no default |
To specify a company name for the pickup location:
|
| Cost |
The shipping cost for the pickup location. If you specify a cost, it will be
displayed on the ShipSummary.aspx page as part of the Customer Pickup
location label using localized currency symbols. Do not use any currency
symbols when you enter this value. Default: 0 |
To specify the shipping cost for the pickup
location:
|
| Country |
The 2 letter abbreviation for the country of the pickup location. The value
must correspond to one of the supported countries for your store.
Default: first country in the list of supported countries for your store. |
To specify the country of the pickup location:
|
|
Email address for the pickup location. Default: no default |
To specify the email address of the contact for the
pickup location:
|
|
| Enabled |
A Boolean value (True or False) which enables or disables this control. When Enabled="False", this control will have no effect. This can be useful if you are troubleshooting the ShipSummary page with StoreFront support. Default: True |
To prevent the customer pickup option from being
displayed or affecting the page in any way:
|
| Fax | Fax number for the pickup location. Default: no default |
To specify a fax number for the pickup location:
|
| FirstName | First name of the contact for the pickup location. Default: no default |
To specify first name of a contact for the pickup
location:
|
| LastName | Last name of the contact for the pickup location. Default: no default |
To specify last name of a contact for the pickup
location:
|
| MI | Middle initial of the contact for the pickup
location. Default: no default |
|
| NickName | On the Shipping.aspx and MultiShip.aspx pages, this
is the name that is displayed in the drop down list of addresses. This is
especially useful if you have more than one pickup location. On the ShipSummary.aspx page, this name will be used as the label for the customer pickup cost. Default: "Customer Pickup" |
To specify a descriptive pickup location name:
|
| Phone | Phone number for the pickup location. Default: no default |
To specify the phone number a contact for the pickup
location:
|
| Prompt | Prompt displayed next to address in Shipping.aspx or
as first address in Multiship.aspx. Used to direct customer on required action. Default. "Select A Shipping Address From Address Book:" |
To specify a more accurate prompt:
|
| State | This is the 2 letter abbreviation for the state of
the pickup location. The value must correspond to one of the supported states
for your store. This is used to calculate state taxes if they apply. Default: first state in the list of supported states for your store. |
To specify the state for the pickup location:
|
| UsePickupCost | A Boolean (True or False) value that determines
whether to use a fixed pickup cost or the calculated shipping cost to this
pickup location. If True, then then fixed pickup cost will be used. If False,
then the shipping cost to this pickup location will be calculated by
StoreFront. Default: True |
To use the shipping cost calculated by StoreFront:
|
| Zip | Zip code for the pickup location. This is used to
calculate local taxes if they apply. Default: no default |
To specify the zip code for the pickup location:
|
To remove the Customer Pickup Control from your store, you will need to restore Shipping.aspx, MultiShip.aspx, and ShipSummary.aspx. If you made a backup copy of these files prior to installing the add-on, then use that in the restore steps below. Otherwise, use the original versions from the StoreFront installation directory (typically. "C:\Program Files\StoreFront 6.0\Web").
Direct email support is available from support@structured-solutions.net for all licensed users of this add-on.
Copyright © 2007, Structured Solutions. All rights reserved.