- 🇺🇸United States nicxvan
There is a duplicate for 🐛 You are not authorized to access this page Closed: duplicate .
I'll keep this one, I need to think about how we'd do this and if it really is something to be done here.
On my e-commerce I use this module for repeat an order. In my case I have users linked together to form teams and an user must be able to repeat an order from a member of his team.
This feature is very specific but I think it might be good to allow copying of any order. Only for trusted roles.
I need to add unpublished product for some role.
Update 1 :
I need to authorize or not each variations when repeat order per user.
My users have a taxonomy term (which is also on the product variation) and when a user repeat an order I need to check the concordance of these fields.
Ø
Add permission for enable repeat on any order.
Update 1:
Add a hook alter before add to cart with a boolean. Default this bool is true and a module can declare this hook_alter to change this boolean.
Create permission.
Update repeatOrder() function to take into account the feature.
Ø
Ø
Ø
Needs review
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
There is a duplicate for 🐛 You are not authorized to access this page Closed: duplicate .
I'll keep this one, I need to think about how we'd do this and if it really is something to be done here.