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.
Hello,
Where did the menu links go to administer the store?
I can not find any settings to display the shop menu.
I am obliged to go through the "admin" menu every time.
Comment | File | Size | Author |
---|---|---|---|
#11 | 2882378-11.patch | 521 bytes | mglaman |
| |||
#3 | Capture du 2017-05-31 15-56-00.png | 300.63 KB | zenimagine |
Comments
Comment #2
bojanz CreditAttribution: bojanz at Centarro commentedYou should have a Commerce tab in your toolbar.
If not (and the problem persists after a cache clear), you have a module causing a problem.
Comment #3
zenimagine CreditAttribution: zenimagine commentedIn the screenshot, there are the tabs "View" and "Manage display". But if there is no "Edit" tab, if a non-administrator user creates a store, how does he change his shop? I do not want to give him access to the admin menu
Comment #4
zenimagine CreditAttribution: zenimagine commentedI have "Commerce" in the administrator toolbar. But how to display the menu as a tab on the shop page ?
Comment #5
bojanz CreditAttribution: bojanz at Centarro commentedDid you give the non-administrator user access to view own stores?
"Online: Update own stores" -> the permission name.
If yes, then there might be a bug with the Edit tab not showing up.
As for the menu, that's an admin menu, you can't reuse it for regular users, create your own instead.
Comment #6
zenimagine CreditAttribution: zenimagine commentedYes the rights are correctly set but there is no "Edit" tab on the shop page
Comment #7
bojanz CreditAttribution: bojanz at Centarro commentedMight be a bug then. I can check next week.
Comment #8
Rob C CreditAttribution: Rob C commentedI think i found it. The page_edit entry is missing in tasks.yml for store, or the existing entity edit tab is wrong and should be changed to canonical. Up for the maintainers to figure out what's best. :-)
Attached patch implements the edit tab just like the product module.
I've tested the permission and that seems to work just fine. You only need the view and edit own store permissions for this to work once this patch is applied.
Leaving status as-is, because i also really require this to work and i guess more cases fit (franchise owners really need to be able to edit their own stores in my case), but it does not break anything but the edit tab, so might want to downgrade it a bit.
Comment #9
Rob C CreditAttribution: Rob C commentedCreated PR at Github
Comment #10
mglamanMoving to a feature request. Looks like we just made an oversight in links and missed the franchise/marketplace setup where some may actually use the canonical route. Currently, it is an admin-only flow.
Comment #11
mglamanHere is the patch from Rob C. PR.
Comment #13
mglamanCommitted, thanks!
Comment #14
Rob C CreditAttribution: Rob C commentedYeah figured as much. I'm also doing some multi store work indeed. Thanks for committing!