get_vendor_wise_earning( $vendor_id, $product_price )

Description #

Get vendor wise earning

Parameters # 

$vendor_id

     (int) (Required) vendor id.

$product_price

     (float) (Required) product price.

Return #

    (float|null) return vendor-wise earnings. Null on failure.

More information #

Usage #

$vendor_id = 34;
$product_price = 329.50;
dokan()->commission->get_vendor_wise_earning( $vendor_id, $product_price );

Leave a Reply

Your email address will not be published. Required fields are marked *