Add per-store managers for Woo Business accounts.
Deploy Ladill Woo Manager / deploy (push) Successful in 39s
Deploy Ladill Woo Manager / deploy (push) Successful in 39s
Agencies can invite store-scoped managers via Identity, with access limited to one WooCommerce store while owners retain full multi-store control. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -18,7 +18,11 @@ class StoreSwitchController extends Controller
|
||||
'store' => ['required', 'integer'],
|
||||
]);
|
||||
|
||||
$stores->switch($this->accountUser($request), (int) $validated['store']);
|
||||
$stores->switch(
|
||||
$this->accountUser($request),
|
||||
(int) $validated['store'],
|
||||
$this->storeScope($request),
|
||||
);
|
||||
|
||||
return redirect()->back();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user