Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#54501 closed defect (bug) (invalid)

Addition of each vendors fees in one shipping method_Woocommerce+Dokan

Reported by: afronaturopathie's profile afronaturopathie Owned by:
Milestone: Priority: normal
Severity: trivial Version:
Component: Editor Keywords:
Focuses: Cc:


I use Dokan to handle my wordpress multivendor website. I am in charge of dealing with all clients deliveries. So vendors are not responsible for. However, in the checkout page, the fees of each vendors are separately display and I don't want it to be this way. The below code help me to resolve one part of my issue as now, only one shipping fees appear in the check out page. However, with this code, the shipping fees per vendors are added. Ex : if vendors fees A is 4$ and vendor B also 4$, the result will be 8$. As I apply a unique flat rate for all deliveries I don't want the addition of each vendors fees. Hope is clear as English is not my native language and espacially I hope someone could save me :).

Thank you !

remove_filter( 'woocommerce_cart_shipping_packages', 'dokan_custom_split_shipping_packages' ); remove_filter( 'woocommerce_shipping_package_name', 'dokan_change_shipping_pack_name'); remove_action( 'woocommerce_checkout_create_order_shipping_item', 'dokan_add_shipping_pack_meta')

Change History (1)

#1 @jrf
2 years ago

  • Focuses administration coding-standards removed
  • Keywords dev-feedback needs-codex removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Severity changed from major to trivial
  • Status changed from new to closed
  • Version 5.8.2 deleted

Hi @afronaturopathie and welcome to Trac.

The Trac system is only for bugs related to WordPress Core, not for support requests and also not for bugs in plugins/themes.

Based on your report, this issue is unrelated to WP Core, so I am closing this issue.

I suggest you ask your question in the WooCommerce support forum or the generic support fora.

Note: See TracTickets for help on using tickets.