Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
as described above: when a customer reaches the order review and clicks "back" to make a change - for example on the address - he will come to the checkout but all his input is lost. All fields are empty. Did I do something wrong in the settings or did someone else had the same issue?
Best,
Tobias
Comment | File | Size | Author |
---|---|---|---|
#14 | 1104116-checkout-path-alias.patch | 1.03 KB | longwave |
#13 | 1104116-checkout-path-alias.patch | 865 bytes | longwave |
Comments
Comment #1
tobiberlinnobody else found this issue?
Comment #2
longwaveThis works as expected for me; I click Back from order review and the details are left intact. Do you have missing images, or mixed HTTP/HTTPS content on your order review or checkout pages? This could perhaps cause the problem you describe, due to identity theft prevention code in Ubercart that may be mistakenly triggered on those pages.
Comment #3
tobiberlinNo, there is no SSL on this project yet. Any other ideas what could cause this issue?
Comment #4
longwaveBroken links (missing images, or similar) on your checkout or review pages? Check your web server logs carefully, or use Firebug's Net tab, to find page requests that are made on the checkout and review pages and see if there is anything unexpected.
Comment #5
longwaveA link to your site would also help if possible, so others can try to reproduce or diagnose the issue.
Comment #6
longwaveMarked #1128908: Billing Information clears after clicking back button on Review order page as duplicate
Comment #7
tobiberlinI checked all logs and found no messages there.
You can have a look at the project at http://www.beocos.de/ - user: beocos, password: seeliger
I would really appreciate if someone could help me with this.
Best,
Tobias
Comment #8
longwaveI see it happening there, but cannot spot the cause from here. Also noted when testing your site is that if you refresh on the "review order" page, you are taken back to a blank checkout page, with no explanation message.
Perhaps a contributed module is causing this, or it may be related to the path aliases for /cart/checkout and /cart/checkout/review - try removing those temporarily and see if that helps? Otherwise I'm out of ideas, I'm afraid.
Comment #9
tobiberlinyour are right... it was related to the aliase. I removed them and all customer input remains in checkout when going back from review or when refreshing the checkout. do you have any idea how I could change the URL without this effect?
Comment #10
longwaveNot sure at the moment, will look into it more when I have time, but changing the title for future reference.
Comment #11
malcomio CreditAttribution: malcomio commentedyes - i get this problem too, and removing aliases fixes it
Comment #12
yonailo CreditAttribution: yonailo commented+1, yes I get this problem too, and removing aliases makes it work.
Comment #13
longwavePlease test the attached patch.
Comment #14
longwaveWait, that one didn't work. Try this one :)
Comment #15
yonailo CreditAttribution: yonailo commentedI have fixed this problem using the function drupal_get_path_alias at the following line in uc_cart.pages.inc:uc_cart_checkout_form():
Bye bye.
Comment #16
longwave#14 is a similar approach but should also work if unaliased paths are mixed with aliased paths (#15 only checks aliased paths, so if any unaliased paths are still used somehow, they will fail).
Comment #17
longwaveTested and committed #14 on both branches.