DisallowShippingToPOBoxes is just a boolean flag, so there aren't many modifications you can make to that itself, however you could modify some of the logic around it, such as how to determine if an address is a P.O. address.
The easiest thing to do would be to open the solution in Visual Studio and search for DisallowShippingToPOBoxes. You should find ~6 results depending on your version. Where you find them, you can change the way we determine whether or not an address is a P.O. address. For example, in checkout1.aspx.cs you can change the following line
Code:
bool IsPOBoxAddress = (Adr1.StartsWith("pobox", StringComparison.InvariantCultureIgnoreCase) || Adr1.StartsWith("box", StringComparison.InvariantCultureIgnoreCase) || Adr1.IndexOf("postoffice") != -1);
to include other variations or permutations of addresses that you are seeing come though that are indeed P.O box addresses.
In version 8.0.1.2, the following files have references to DisallowShippingToPOBoxes:
- Non-Source Files
- checkout1.aspx.cs
- createaccount.aspx.cs
- editaddress.aspx.cs
- selectaddress.aspx.cs
- Source Files (requires source code and a recompile)
- GoogleCheckout.cs
- Address.cs
<a href="http://www.aspdotnetstorefront.com">Shopping Cart Software</a>