Support » Plugin: Where Did You Hear About Us Checkout Field for WooCommerce » Failed to display fixed name

  • $items[] = array(
    ‘order_id’ => get_the_ID(),
    ‘wccs_status’ => $order->get_status(),
    //’customer_name’ => $order->get_billing_first_name . ‘ ‘ . $order->get_billing_last_name,
    ‘customer_name’ => $first_name = method_exists( $order, ‘get_billing_first_name’ ) ? $order->get_billing_first_name() : $order->billing_first_name,
    ‘customer_source’ => $customer_source,
    );

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author wooassist

    (@wooassist)

    @davidgimenez hello, I’m sorry but what did you want here? not quite sure how to help you. please explain in detail the problem you are having.

    Thread Starter davidgimenez

    (@davidgimenez)

    fix that because it doesn’t show username

    Plugin Author wooassist

    (@wooassist)

    @davidgimenez ok so you need the username displayed? we will look into that and might include it in a future release.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.