• Resolved estionlinedeciexisti

    (@estionlinedeciexisti)


    Hi,

    I need the code line to display specific id in customer completed order email template (customer-completed-order.php) using WooCommerce Admin Custom Order Fields – (there are some explication here but I do not know how to use them).

    The plugin is doing this but I need the id’s to be displayed in specific (diffrent) places.

    Thanks a lot!

    Nik

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter estionlinedeciexisti

    (@estionlinedeciexisti)

    Problem solved ??

    <?php $awb = get_post_meta( $order->id, ‘_wc_acof_2’, true ); ?>
    <?php $curier = get_post_meta( $order->id, ‘_wc_acof_3’, true ); ?>

    <p style=”line-height: 1px;”>Comanda ta a fost pregatita pentru livrare si preluata de catre curier <?php echo $curier; ?> cu AWB nr: <?php echo $awb; ?><p>

    Thread Starter estionlinedeciexisti

    (@estionlinedeciexisti)

    <?php $awb = get_post_meta( $order->id, '_wc_acof_2', true ); ?>
    <?php $curier = get_post_meta( $order->id, '_wc_acof_3', true ); ?>
    
    <p  style="line-height: 1px;">Comanda ta a fost pregatita pentru livrare si preluata de catre curier <?php echo $curier; ?> cu AWB nr: <?php echo $awb; ?><p>
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Code line to display in email template specific id from Woocomerce’ is closed to new replies.