2011-12-09 17:01:56 +00:00
< ? php
/**
2012-08-14 18:05:45 +00:00
* My Account page
*
* @ author WooThemes
* @ package WooCommerce / Templates
2012-12-23 12:19:56 +00:00
* @ version 2.0 . 0
2011-12-09 17:01:56 +00:00
*/
2012-08-14 18:05:45 +00:00
2012-10-15 10:57:58 +00:00
if ( ! defined ( 'ABSPATH' ) ) exit ; // Exit if accessed directly
2012-02-03 16:17:35 +00:00
global $woocommerce ;
2011-12-09 17:01:56 +00:00
2013-06-06 13:56:24 +00:00
$woocommerce -> get_helper ( 'messages' ) -> show_messages (); ?>
2011-12-09 17:01:56 +00:00
2012-12-23 12:19:56 +00:00
< p class = " myaccount_user " >
< ? php
printf (
2013-06-04 16:33:43 +00:00
__ ( 'Hello, <strong>%s</strong>. From your account dashboard you can view your recent orders, manage your shipping and billing addresses and <a href="%s">edit your password and account details</a>.' , 'woocommerce' ),
2012-12-23 12:19:56 +00:00
$current_user -> display_name ,
2013-06-05 11:07:23 +00:00
woocommerce_customer_edit_account_url ()
2012-12-23 12:19:56 +00:00
);
?>
</ p >
2011-12-09 17:01:56 +00:00
2012-10-09 13:00:08 +00:00
< ? php do_action ( 'woocommerce_before_my_account' ); ?>
2012-12-20 16:34:39 +00:00
< ? php woocommerce_get_template ( 'myaccount/my-downloads.php' ); ?>
2012-10-09 13:00:08 +00:00
2012-12-23 12:19:56 +00:00
< ? php woocommerce_get_template ( 'myaccount/my-orders.php' , array ( 'order_count' => $order_count ) ); ?>
2012-10-09 13:00:08 +00:00
< ? php woocommerce_get_template ( 'myaccount/my-address.php' ); ?>
< ? php do_action ( 'woocommerce_after_my_account' ); ?>