Jump to content

Resolved - New Address added - not looping back to cart when 'save


www_UKwins_co_uk

Recommended Posts

Hi Everyone!

I'm currently testing an upgrade from 4.4.4 to the latest version, the upgrade has went smoothly... however I just wanted to double check that this is happening to other people:

When a customer is placing an order, and they want to send to a new/different address

When the new address is added and they click 'save' button - it doesn't redirect back to the basket/cart again, they have to physically click the 'View basket' again to get back to it...

Is this happening to others?

I can see that the URL has a redirect in:

/index.php?_a=addressbook&action=add&redir=confirm

however - it doesn't seem to redirect.

It would be good to have a 'Go Back to Basket' button when the address is saved (see attached )... or indeed - fix the redirect??

Link to comment
Share on other sites

Ok, In the file /classes/seo.class.php, at around line 479, find:


       	 // Get URL elements

            if (!empty($vars)) {

                if ($question) {

                    $append[] = '?'. http_build_query($vars);

                } else {

                    $append[] = http_build_query($vars);

                }

            }





Change to:



       	 // Get URL elements

            if (!empty($vars)) {

                if ($question) {

                    $append[] = '?'. http_build_query($vars);

                } else {

                    $append[] = '&' . http_build_query($vars);

                }

            }

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...