Notes: - i have 2 role manager: 1-Shop order operation manager. = (SOOM) 2-Shop order Branch Manager. = (SOBM) i need code for Woocommerce order operation processing as following: 1-when order is received from customer the "SOOM" user makes the statue Processing And assign this order to "SOBM" user. (i make it by Groups plugin) 2- "SOBM" user Must only see order and Action icon only for (Ready For Shipping) Status .... | and he must not be able to Edit the other order details at all time .. just able to edit status to (Ready For Shipping). 3- After the order status changed by "SOBM" user to (Ready For Shipping) ... "SOBM" user now cant edit any thing in order page or in orders list page ... and the order must be available to view and read all the time by "SOBM" user .. but un editable by "SOBM" user. but for (SOOM) user he can edit any time. 4- the order status that when its be activeed the "SOBM" user cant edit the order status or order Action Icons -> (photo 002) Status is: a- when the order status is (Ready For Shipping) b-when the order status is (Refunded) c-when the order status is (Canceled) d-when the order status is (Order Returned) e-when the order status is (Completed) f-when the order status is (Out for Delivery) g-when the order status is (Driver Assigned) h-when the order status is (On-Hold) i-when the order status is (Pending Payment) enter image description here 5- i dont want "SOBM" user to be able to create invoice. only able to create packing slip. 6-if its poseable to make the packing slip contain the "SOBM" user name its will be very nice. 7-make the dashboard containes only order and profile.(photo 001) enter image description here 8- build bulk action assign orders to (group A , Group B) from Groups plugin.(photo 003). enter image description here
note: im using group to split orders on branch managers. the Shop order operation manager (SOOM) user is the head of all order processing in general.
im using plugins that works perfect with what i need..just i need funchtion php code make this filter for me. plugins i use: YITH WooCommerce Custom Order Status (works very nice) YITH WooCommerce PDF Invoice and Shipping List (works very nice) Groups (filter orders to branch cite) Delivery Drivers for WooCommerce (for assign order to drivers) User Role Editor Pro (for limit access and still not full succed)
Aucun commentaire:
Enregistrer un commentaire