How can i get shipping cost per vendor per order ?

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WC Marketplace How can i get shipping cost per vendor per order ?

Tagged: 

Viewing 1 reply thread
  • Author
    Posts
    • #101394
      lukas_smith
      Participant

      I need calculate cost of items + cost of shipping

      foreach ($order->get_items() as $item_key => $item ) {
          echo $item->get_total();
      }

      And is any way to get in this way shipping cost ?
      I can see total price for item but cant find out how can i get total cost per vendor per order for each vendor

    • #105934
      WCFM Forum
      Member

      Hi,

      I can see total price for item but cant find out how can i get total cost per vendor per order for each vendor

      – When you want to have this? Before order place or after order processing?

      Thank You

Viewing 1 reply thread
  • You must be logged in to reply to this topic.