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.
It appears that it does not rewrite the paths for the users "orders" tab for Commerce or "files" with Commerce File. Would love if it did (if you have the time, of course) :)
Comments
Comment #1
pixelsweatshop CreditAttribution: pixelsweatshop commentedfixed typo in title
Comment #2
pixelsweatshop CreditAttribution: pixelsweatshop commentedOf course. I just remember that commerce uses views to create these pages on the user account. Which uses the UID as the contextual filter which is in turn used to specify the URL. Any thoughts on still overcoming this?
Comment #3
nohup CreditAttribution: nohup commentedAs of now the me module does not support views in 7.x. Now we have a reason to fix that :-)
I am going to setup a dev environment with commerce and see what can be done.
Comment #4
pixelsweatshop CreditAttribution: pixelsweatshop commentedGreat. Let me know if you need testers. :)
Comment #5
nohup CreditAttribution: nohup commentedCommitted initial support for views in git. Use the latest 7.x-dev build and test it out. There is one bug, if you are the logged in user you cannot do user/2/orders, but you can do user/me/orders.
For me alias to work, you will have to edit the the "User orders" view and use the "Me" validator in "Commerce Order:Uid under" Advance->Contextual filters.
Comment #6
pixelsweatshop CreditAttribution: pixelsweatshop commentedWorks perfectly. Thank you so much for this addition and the quick turnaround. :)
Comment #7
archimedes CreditAttribution: archimedes commentedAny idea when this will be committed to a new release?
Comment #8
nohup CreditAttribution: nohup commentedLook for a new release around end of this week. There are few more me D7 issues that I have to clean up and commit.
Comment #9
archimedes CreditAttribution: archimedes commentedBack again. :)
It's been a couple weeks, and I see dev has been updated, but no official release yet. Anything we can do?
Comment #10
Simon Georges CreditAttribution: Simon Georges commentedAs it's committed, shouldn't the issue status be fixed? Unless you're waiting for some documentation to be written, or you want to patch Commerce Orders support further?
Comment #11
nohup CreditAttribution: nohup commentedThanks for your patience guys, 7.x-1.1 released, should come up at d.o in a short while.
Comment #13
webdrips CreditAttribution: webdrips commentedHate to re-open but it would appear this never actually made it into 7.x-1.1
My orders tab is user/[uid]/orders.
Was there a patch file? Can someone provide one?
Comment #14
Simon Georges CreditAttribution: Simon Georges commented@webdrips, as per #5, For me alias to work, you will have to edit the the "User orders" view and use the "Me" validator in "Commerce Order:Uid under" Advance->Contextual filters.
Did you do that?
Comment #15
webdrips CreditAttribution: webdrips commented@simon, thank you...I somehow missed that part.