Announcement

Collapse
No announcement yet.

UPS residential address

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    UPS residential address

    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).
    -------

    Pat

    #2
    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
    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.

    Comment


      #3
      Chris, thank you. I'd like to take this a step further, and remove the option to override this. I want all orders to be residential. Can you tell me how to do that? Thanks!
      -------

      Pat

      Comment


        #4
        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
        But I don't have a UPS version to test this with.

        Comment


          #5
          It works! Thanks very much.
          -------

          Pat

          Comment


            #6
            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


              #7
              Is this template to reside in the \acatalog directory on the server, or somewhere else?
              The template should stay in the 'Site1' folder - it is the generated page which should be up in the 'acatalog' folder.

              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


                #8
                UPS Residential Box

                How do I fix this problem in Version 9. I also would like to remove the box from the code, but seem to be unable to find the source code in Actinic.

                Thanks to anyone who responds.

                Comment

                Working...
                X