Business and Residential flags
-
- Ensign (ENS)
- Posts: 19
- Joined: Thu Oct 29, 2009 5:34 am
Re: Business and Residential flags
That's exactly what I am looking for.
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Business and Residential flags
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
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
-
- Lieutenant Commander (LCDR)
- Posts: 92
- Joined: Thu Jul 10, 2008 11:43 am
- Location: Lancaster PA
- Contact:
Re: Business and Residential flags
Does this work in 7.0.4?
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Business and Residential flags
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
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
- William_firefold
- Commander (CMDR)
- Posts: 186
- Joined: Fri Aug 01, 2008 8:38 am
Re: Business and Residential flags
When we had to upgrade to 703 i decided to simplify this problem. Here was my solution for onepagecheckout.
Hope this helps.
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>
Re: Business and Residential flags
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
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