Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Claudio Sanches

    (@claudiosanches)

    Só usar a classe WC_Order e recuperar como se fossem campos do WooCommerce mesmo.

    Vai conseguir usar as propriedades, billing_cpf, billing_number, billing_sex e e etc.

    Kalitu,

    Você pode ir em woocommerce-delivery-notes/includes/wcdn-template-functions.php na fun??o wcdn_get_order_info e adicionar:

    if($order->billing_cpf){
    $fields[‘billing_cpf’] = array(
    ‘label’ => __( ‘CPF’, ‘woocommerce-delivery-notes’ ),
    ‘value’ => $order->billing_cpf
    );
    }

    Qualquer dúvida me avise! Também passei por essa situa??o.

    Abra?os

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Imprimir Campos’ is closed to new replies.