Announcement

Collapse
No announcement yet.

Showing Billing information first on checkout

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

    Showing Billing information first on checkout

    Under Store Settings > Customer Fields, there is an option to set Billing or Shipping as the Primary Address. I set it to Billing, but it still shows Shipping Information first in the checkout.

    Does this mean that I have to go into OCST and switch the code around to show Billing first? And, if so, then what is the purpose of that Primary Address option in Store Settings?

    Thank you
    Ron


    #2
    Hi Ron,

    Yes, if you change that setting you will have to manually update the code on OCST. I am working on this section having tighter integration with Shadows for a future release so the manual edits won't be needed.
    Matt Zimmermann

    Miva Web Developer
    Alchemy Web Development
    https://www.alchemywebdev.com
    Site Development - Maintenance - Consultation

    Miva Certified Developer
    Miva Professional Developer

    https://www.dev4web.net | Twitter

    Comment


      #3
      Thanks, Matt.

      So, to confirm, we still need to set Primary Address to Billing for it to work correctly, after manually editing the code?

      Comment


        #4
        Hi Ron,

        Correct. This setting is needed for other functions within the checkout process.
        Matt Zimmermann

        Miva Web Developer
        Alchemy Web Development
        https://www.alchemywebdev.com
        Site Development - Maintenance - Consultation

        Miva Certified Developer
        Miva Professional Developer

        https://www.dev4web.net | Twitter

        Comment


          #5
          Hi Matt.
          Before swapping the code, the Shipping Information is at the top, and then down below the Billing Information heading is the checkbox for "Billing Information Same As Shipping".

          After swapping the code, so that Billing is at the top, it's showing the "Billing Information Same As Shipping" checkbox under the Billing Information heading. But nothing under the Shipping Information heading.

          How can I get the "Shipping Information Same as Billing" checkbox to show under the Shipping Information heading? And hide the checkbox under Billing?

          I've been going over the code and can't figure this out.

          And I do have Billing set as the Primary Address in Store Settings.

          Thanks!


          Comment


            #6
            Hi Ron,

            Make sure the script tag at the bottom of the customer information code has been updated to something like this:
            Code:
            &mvte:global:clientside_url;Store_Code=&mvta:store:code;&Filename=ToggleDetails.js&Primaddr=billing&Shipping=O&Billing=D
            Matt Zimmermann

            Miva Web Developer
            Alchemy Web Development
            https://www.alchemywebdev.com
            Site Development - Maintenance - Consultation

            Miva Certified Developer
            Miva Professional Developer

            https://www.dev4web.net | Twitter

            Comment


              #7
              Yes. I already have that script set up correctly.

              Anything else I can check?

              Comment


                #8
                For the shipping controls, remove the "u-hidden" class and add it to the billing controls.
                Matt Zimmermann

                Miva Web Developer
                Alchemy Web Development
                https://www.alchemywebdev.com
                Site Development - Maintenance - Consultation

                Miva Certified Developer
                Miva Professional Developer

                https://www.dev4web.net | Twitter

                Comment


                  #9
                  That was it.
                  Thank you, Matt!

                  Comment

                  Working...
                  X