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

pixelsweatshop’s picture

Title: Does not rerite paths for D7 Commerce » Does not rewrite paths for D7 Commerce

fixed typo in title

pixelsweatshop’s picture

Of 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?

nohup’s picture

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

pixelsweatshop’s picture

Great. Let me know if you need testers. :)

nohup’s picture

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

pixelsweatshop’s picture

Works perfectly. Thank you so much for this addition and the quick turnaround. :)

archimedes’s picture

Any idea when this will be committed to a new release?

nohup’s picture

Look for a new release around end of this week. There are few more me D7 issues that I have to clean up and commit.

archimedes’s picture

Back again. :)

It's been a couple weeks, and I see dev has been updated, but no official release yet. Anything we can do?

Simon Georges’s picture

Status: Active » Fixed

As 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?

nohup’s picture

Thanks for your patience guys, 7.x-1.1 released, should come up at d.o in a short while.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

webdrips’s picture

Status: Closed (fixed) » Active

Hate 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?

Simon Georges’s picture

@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?

webdrips’s picture

Status: Active » Closed (fixed)

@simon, thank you...I somehow missed that part.