Searching PHP-Codes for Order Info
-
Hey guys,
Im editing my Processing-Template Eamil now since 9 hours.
Im almost done with the whole html layout.
but Im looking for specific order data in php-code style.I collect a bunch of them now:
//Code For Order ID
<?php echo $order->id; ?>
//Code For Order Date
<?php echo $order->order_date; ?>
//Code For Shipping address
<?php echo $order->shipping_address_1; ?>
//Code For Order Items/Products
<?php do_action( ‘woocommerce_email_order_details’, $order, $sent_to_admin, $plain_text, $email ); ?>I hate the design of the last code. all details are shown in such a mess..
I want to design the detail-data by my own.So I need the code for:
1.Ordered Item name
2.Order quantity
3.Ordered item colour
4.Size of ordered item
5.Unit price
6.Total price
7.Vat
8.Shipping Fee
9.And Total Pricewhere can I find them?
OR DO YOU EVEN KNOW A FREE PLUGIN, WHICH CAN HANDLE ALL THIS`?
THANK YOU SO MUCH
The topic ‘Searching PHP-Codes for Order Info’ is closed to new replies.