Business and Residential flags

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
SecretSpin
Ensign (ENS)
Ensign (ENS)
Posts: 19
Joined: Thu Oct 29, 2009 5:34 am

Re: Business and Residential flags

Post by SecretSpin » Wed Dec 09, 2009 2:00 pm

That's exactly what I am looking for.

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Business and Residential flags

Post by jmestep » Wed Dec 09, 2009 4:46 pm

We've been able to do it by finding every where there is a selection and changing that to residential, even a hidden field at times. I think there were about a dozen places. You just have to search for them all. I also put code on the basket page to change anonymous users to residential when they put anything into the basket. The only problem now is beyond our control- when a customer pays with Paypal express, that sometimes comes back commercial.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

SamsSteins
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 92
Joined: Thu Jul 10, 2008 11:43 am
Location: Lancaster PA
Contact:

Re: Business and Residential flags

Post by SamsSteins » Tue Jan 05, 2010 9:32 am

Does this work in 7.0.4?

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Business and Residential flags

Post by jmestep » Tue Jan 05, 2010 2:25 pm

I haven't tried it yet, but if the code is similar, it should work.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
William_firefold
Commander (CMDR)
Commander (CMDR)
Posts: 186
Joined: Fri Aug 01, 2008 8:38 am

Re: Business and Residential flags

Post by William_firefold » Tue Jan 05, 2010 2:36 pm

When we had to upgrade to 703 i decided to simplify this problem. Here was my solution for onepagecheckout.

Code: Select all

    <asp:DropDownList ID="ShipToAddressType" runat="server" EnableViewState="false">
    <asp:ListItem Text="This is a residence" Value="1" Selected="true"></asp:ListItem>
    <asp:ListItem Text="This is a business" Value="1"></asp:ListItem>
    </asp:DropDownList>
Hope this helps.

vhemlani
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 30
Joined: Wed May 25, 2011 7:58 pm

Re: Business and Residential flags

Post by vhemlani » Mon Dec 19, 2011 4:29 pm

As programmatic as solution for this can get, I decided on a much simpler solution which probably isn't the most ideal.
I just added the following style attribute to the html tag surrounding this part of the page: display:none;

I did this on onepagecheckout and on editmyaddress
Are there any more places thatt I might want to do this?

Thanks,
Vishal

Post Reply