예제 #1
0
<?php

/**
 * Cart Page
 *
 * @author  WooThemes
 * @package WooCommerce/Templates
 * @version 2.3.8
 */
if (!defined('ABSPATH')) {
    exit;
    // Exit if accessed directly
}
defender_print_page_heading();
wc_print_notices();
?>

<?php 
do_action('woocommerce_before_cart');
?>

<section id="wc-cart">
    <div class="ui page grid">
        <div class="centered row">
            <div class="column">

                <form action="<?php 
echo esc_url(WC()->cart->get_cart_url());
?>
" method="post">
예제 #2
0
<?php

/**
 * Lost password form
 *
 * @author  WooThemes
 * @package WooCommerce/Templates
 * @version 2.3.0
 */
if (!defined('ABSPATH')) {
    exit;
    // Exit if accessed directly
}
defender_print_page_heading(['heading_title' => 'Lost Password', 'heading_subtitle' => apply_filters('woocommerce_lost_password_message', __('Please enter your username or email address. You will receive a link to create a new password via email.', 'woocommerce'))]);
wc_print_notices();
?>

<section id="lost_reset_password">
	<div class="ui page grid">
		<div class="centered row">
			<div class="six wide column">

				<?php 
do_action('woocommerce_lostpassword_form');
?>

				<form method="post" class="ui form lost_reset_password">

					<?php 
if ('lost_password' == $args['form']) {
    ?>
예제 #3
0
<?php

/**
 * My Account page
 *
 * @author 		WooThemes
 * @package 	WooCommerce/Templates
 * @version     2.0.0
 */
if (!defined('ABSPATH')) {
    exit;
    // Exit if accessed directly
}
defender_print_page_heading(['heading_title' => 'My Account']);
wc_print_notices();
?>

<section id="myaccount_user">
	<div class="ui page grid">
		<div class="centered row">
			<div class="column">

				<?php 
do_action('woocommerce_before_my_account');
?>

				<?php 
wc_get_template('myaccount/my-downloads.php');
?>

				<?php 
예제 #4
0
<?php

/**
 * Edit address form
 *
 * @author      WooThemes
 * @package     WooCommerce/Templates
 * @version     2.1.0
 */
if (!defined('ABSPATH')) {
    exit;
    // Exit if accessed directly
}
defender_print_page_heading(['acf_page_id' => 7]);
global $current_user;
$page_title = $load_address === 'billing' ? __('Billing Address', 'woocommerce') : __('Shipping Address', 'woocommerce');
get_currentuserinfo();
wc_print_notices();
?>

<?php 
if (!$load_address) {
    ?>

	<?php 
    wc_get_template('myaccount/my-address.php');
    ?>

<?php 
} else {
    ?>
예제 #5
0
<?php

/**
 * Login Form
 *
 * @author 		WooThemes
 * @package 	WooCommerce/Templates
 * @version     2.2.6
 */
if (!defined('ABSPATH')) {
    exit;
    // Exit if accessed directly
}
defender_print_page_heading(['heading_title' => 'Login to My Account', 'heading_subtitle' => 'Login to access your account where you can view your downloads, order history and licenses.']);
wc_print_notices();
?>

<?php 
do_action('woocommerce_before_customer_login_form');
?>

<section id="customer_login">
	<div class="ui page grid">

<?php 
if (get_option('woocommerce_enable_myaccount_registration') === 'yes') {
    ?>

		<div class="two column equal height divided centered row">

<?php