Classes for order info in my-account. Closes #1363.
This commit is contained in:
parent
402799c0eb
commit
3edf155b50
|
@ -151,6 +151,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc
|
|||
== Changelog ==
|
||||
|
||||
= 1.6.4 =
|
||||
* Tweak - Classes for order info in my-account
|
||||
* Fix - Missing grouped product cart buttons
|
||||
* Fix - Notice in invoice template with number_format
|
||||
* Fix - Made variation get_image() return instead of echo
|
||||
|
|
|
@ -264,9 +264,9 @@ function woocommerce_view_order() {
|
|||
|
||||
$status = get_term_by('slug', $order->status, 'shop_order_status');
|
||||
|
||||
echo '<p>'
|
||||
. sprintf( __('Order <mark>%s</mark> made on <mark>%s</mark>', 'woocommerce'), $order->get_order_number(), date_i18n(get_option('date_format'), strtotime($order->order_date)) )
|
||||
. sprintf( __('. Order status: <mark>%s</mark>', 'woocommerce'), __($status->name, 'woocommerce') )
|
||||
echo '<p class="order-info">'
|
||||
. sprintf( __( 'Order <mark class="order-number">%s</mark> made on <mark class="order-date">%s</mark>', 'woocommerce'), $order->get_order_number(), date_i18n( get_option( 'date_format' ), strtotime( $order->order_date ) ) )
|
||||
. '. ' . sprintf( __( 'Order status: <mark class="order-status">%s</mark>', 'woocommerce' ), __( $status->name, 'woocommerce' ) )
|
||||
. '.</p>';
|
||||
|
||||
$notes = $order->get_customer_order_notes();
|
||||
|
|
Loading…
Reference in New Issue