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':Change this to read:Code:NETQUOTEDEL:RESIDENTIAL <TD>NETQUOTEVAR:RESIDENTIALPROMPT<INPUT TYPE="CHECKBOX" NAME="NETQUOTEVAR:REQLOCATIONRESIDENTIAL" NETQUOTEVAR:NETQUOTEVAR:REQLOCATIONRESIDENTIAL></TD> NETQUOTEDEL:RESIDENTIAL
That should do it.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:But I don't have a UPS version to test this with.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
-
The template should stay in the 'Site1' folder - it is the generated page which should be up in the 'acatalog' folder.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