Skip to content

Commit

Permalink
fix: use correct function to get seller id by order id while creating…
Browse files Browse the repository at this point in the history
… shipping for suborder (#393)
  • Loading branch information
saimonh3 authored and sabbir1991 committed Sep 28, 2018
1 parent 504459d commit 36407fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-order-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ function create_shipping( $order, $parent_order ) {

// Get all shipping methods for parent order
$shipping_methods = $parent_order->get_shipping_methods();
$order_seller_id = dokan_get_seller_id_by_order( $order->get_id() );
$order_seller_id = dokan_get_seller_id_by_order_id( $order->get_id() );

$applied_shipping_method = '';

Expand Down

0 comments on commit 36407fc

Please sign in to comment.