Display Order Details in Thank you Page with bulleted list
-
I need to display order details in bulleted list as currently order-details.php is displaying it in array as show in the picture below.
I guess editing this part of the code in order-details.php can achieve what I need, but I am not sure how to do so.
<?php
foreach( $order->get_items() as $item_id => $item ) {
$product = apply_filters( ‘woocommerce_order_item_product’, $order->get_product_from_item( $item ), $item );
$purchase_note = get_post_meta( $product->id, ‘_purchase_note’, true );wc_get_template( ‘order/order-details-item.php’, array(
‘order’ => $order,
‘item_id’ => $item_id,
‘item’ => $item,
‘show_purchase_note’ => $show_purchase_note,
‘purchase_note’ => $purchase_note,
‘product’ => $product,
) );
}
?>Please help. Thank you in advance.
Picture link:
https://drive.google.com/file/d/0B1jBKOg9mZnDZ2JPSndYY2FCQkU/view?usp=sharing
- The topic ‘Display Order Details in Thank you Page with bulleted list’ is closed to new replies.