I would like addresses to default to residential. I'm referring to the check box at checkout for check if the ship-to address is residential. How can I do this? (97% of my shipments are to residential addresses, so I'd rather err on the side of residential rather than non-residential).
Announcement
Collapse
No announcement yet.
UPS residential address
Collapse
X
-
You need to find this section of code in 'Act_LocationSelectTemplate.html':Code:NETQUOTEDEL:RESIDENTIAL <TD>NETQUOTEVAR:RESIDENTIALPROMPT<INPUT TYPE="CHECKBOX" NAME="NETQUOTEVAR:REQLOCATIONRESIDENTIAL" NETQUOTEVAR:NETQUOTEVAR:REQLOCATIONRESIDENTIAL></TD> NETQUOTEDEL:RESIDENTIAL
Code:NETQUOTEDEL:RESIDENTIAL <TD>NETQUOTEVAR:RESIDENTIALPROMPT<INPUT TYPE="CHECKBOX" NAME="NETQUOTEVAR:REQLOCATIONRESIDENTIAL"><!-- NETQUOTEVAR:NETQUOTEVAR:REQLOCATIONRESIDENTIAL --></TD> NETQUOTEDEL:RESIDENTIAL
-
My guess is you need to change it to:Code:NETQUOTEDEL:RESIDENTIAL <TD><!-- NETQUOTEVAR:RESIDENTIALPROMPT--><INPUT TYPE="HIDDEN" NAME="NETQUOTEVAR:REQLOCATIONRESIDENTIAL" VALUE="NETQUOTEVAR:NETQUOTEVAR:REQLOCATIONRESIDENTIAL"></TD> NETQUOTEDEL:RESIDENTIAL
Comment
-
I had to take out the UPS stuff because of response time issues, but I'm now trying again. I can't get the residential to work anymore! Is this template to reside in the \acatalog directory on the server, or somewhere else?
The selection box is hidden, but it is defaulting to commercial instead of residential. I've copied & pasted the code above so I don't get it! Any help would be appreciated.-------
Pat
Comment
-
Is this template to reside in the \acatalog directory on the server, or somewhere else?
I suggest you grab an unedited 'Act_LocationSelectTemplate.html' from 'Formats/Themes/BusinessCSS' and at least get the site working again.
Then try re-applying the above change.
Comment
Comment