How could i change the billing and shipping content of order details?

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 WCFM – Ultimate How could i change the billing and shipping content of order details?

Viewing 3 reply threads
  • Author
    Posts
    • #27817
      MOHO
      Participant

      I hide some fields, and create some new fields at my site.
      How could i use my custom “Buyer Details” and “Shipping Details” at order details for Vendors?

      Buyer Details 訂購人明細
      1. Name
      user_info->user_firstname
      2. Gender
      user_info->user_gender
      3. Phone:
      user_info->phone_number
      4. Email
      user_info->user_email

      Shipping Details 收件人明細
      1. Name
      order->get_billing_first_name
      2. Gender
      order->get_billing_user_gender
      3. Phone
      order->billing_phone
      4. Email
      order->billing_email
      5. Address
      order->get_billing_address_1

      Attachments:
      You must be logged in to view attached files.
    • #28033
      WCFM Forum
      Member

      Hi,

      You may achieve this two way –

      1. Using Hook/Filter
      2. Using template override

      Kindly check this template for more info – wc-frontend-manager\views\orders\wcfm-view-orders-details.php

      Thank You

    • #28056
      MOHO
      Participant

      Thanks

      How could i change, and also could update your plugin online?

      add my child theme?

    • #28078
      WCFM Forum
      Member

      Hi,

      Right, you can override this template under child theme –

      Copy “wcfm-view-orders-details.php” file to yourtheme/wcfm/orders/wcfm-view-orders-details.php

      Thank You

Viewing 3 reply threads
  • The topic ‘How could i change the billing and shipping content of order details?’ is closed to new replies.