Home Forums Theme Support Dokan fixed price commission per product option

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  towhid 4 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #32396


    I have hacked the plugin to meet my specific needs to allow the store owner to set a product base price and a flat commission per product (i.e: base price = $5.00, commission = $1.00, sell price = $6.00) The sum of the commissions for each store owner per order saved in the wp_dokan_orders:net_amount field. A few questions around this hack:

    1. is there a need to implement a per-item commission option (in addition to the percentage)? If so, I am happy to send you my code to integrate it into the core system.
    2. is there any way to use the hooks to modify the code so I can overwrite the default commission calculation instead of hacking the core files?
    3. can I customize the Dokan template files like I can with the WooCommerce plugin (specifically ‘/templates/product-edit.php')?



    Post count: 4505

    Hello Chris,

    Here are answers:

    1. I am really sorry to say that we do not have this option right now. I have forward this option to our developer team hope they will implement this feature in near future. You can also send your code if you want.

    2. There are no hook. Please open wp-content/plugins/wedevs-dokan-plugin/includes/theme-functions.php and find '($order->order_total * $percentage)/100,' . Here all calculations accomplished. It could be a hints for you.

    3. But it will not wise to customize the core file. You can create a child theme and do whatever you want.

    Thank You ๐Ÿ™‚

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘fixed price commission per product option’ is closed to new replies.