I am a dokan user, in dokan you can set shipping to vendor or to admin. Mainly i want to offer the possibility to vendor to choose ( so all shipping cost goes to vendors )
- Flat rate shipping
- Collect
- Free delivery
and i want to add : ( to add it is not a problem )
- ADMIN delivery service ---> fees must go to admin and not to vendor.
so any idea how to get Admin delivery service fees in my earning and not to vendors ?
'name' => 'shipping_fee_recipient',
'label' => __( 'Shipping Fee Recipient', 'dokan-lite' ),
'desc' => __( 'Who will be receiving the Shipping fees', 'dokan-lite' ),
'type' => 'select',
'options' => array( 'seller' => __( 'Vendor', 'dokan-lite' ), 'admin' => __( 'Admin', 'dokan-lite' ) ),
'default' => 'seller'
), ```
--> this is the function when i can choose admin or vendor "function file in dokan"