-<?php
-/**
- * Plugin Name: WooCommerce
- * Plugin URI: https://woocommerce.com/
- * Description: An eCommerce toolkit that helps you sell anything. Beautifully.
- * Version: 3.3.5
- * Author: Automattic
- * Author URI: https://woocommerce.com
- *
- * Text Domain: woocommerce
- * Domain Path: /i18n/languages/
- *
- * @package WooCommerce
- */
-
-if ( ! defined( 'ABSPATH' ) ) {
- exit; // Exit if accessed directly.
-}
-
-// Define WC_PLUGIN_FILE.
-if ( ! defined( 'WC_PLUGIN_FILE' ) ) {
- define( 'WC_PLUGIN_FILE', __FILE__ );
-}
-
-// Include the main WooCommerce class.
-if ( ! class_exists( 'WooCommerce' ) ) {
- include_once dirname( __FILE__ ) . '/includes/class-woocommerce.php';
-}
-
-/**
- * Main instance of WooCommerce.
- *
- * Returns the main instance of WC to prevent the need to use globals.
- *
- * @since 2.1
- * @return WooCommerce
- */
-function wc() {
- return WooCommerce::instance();
-}
-
-// Global for backwards compatibility.
-$GLOBALS['woocommerce'] = wc();
+<?php get_header(); ?>
+ <div id="content-wrapper" class='side-shadow row woocommerce-wrapper'>
+ <div class="row content">
+ <div class="small-12 columns">
+ <?php get_template_part('parts/bread-crumbs');?>
+ </div>
+
+ <?php get_sidebar(); ?>
+
+ <?php //get_template_part('parts/shop-quick-display');?>
+ <div id="woo-quick-display" class="small-12 medium-9 columns">
+
+ <div id="woo-quick-cart-icon" class="small-5 medium-6 columns left">
+
+ <div class="woo-quick-cart-image">
+
+ <a href="<?php echo esc_url(get_permalink(760));?>">
+ <img src="<?php echo get_template_directory_uri(); ?>/assets/shopping-cart.png">
+ </a>
+ <a href="<?php echo esc_url(get_permalink(760));?>"><h3>view cart</h3></a>
+ </div>
+ <div class="woo-quick-cart-totals">
+
+ <p><?php echo $woocommerce->cart->get_cart_total(); ?>
+ for
+ <?php echo sprintf(_n('%d item', '%d items', $woocommerce->cart->cart_contents_count,
+ 'woothemes'), $woocommerce->cart->cart_contents_count);?>
+ </p>
+ </div>
+ </div>
+ <div id="woo-quick-checkout" class="small-5 medium-6 columns right">
+ <?php
+ if (is_user_logged_in()) {
+ echo '<a href="'. esc_url(get_permalink(762)) . '?customer-logout=true" class="button login_toggle">log out</a>';
+ }
+ elseif (!is_user_logged_in()) {
+ echo '<a href="'. esc_url(get_permalink(762)) . '" class="button login_toggle">log in</a>';
+ }
+ ?>
+ <a href="<?php echo esc_url(get_permalink(761)); ?>" class="button">checkout</a>
+ </div>
+
+ </div>
+ <?php if (is_shop()) { ?>
+ <div class="small-12 medium-9 columns main woo-tags">
+
+ <?php
+ /**
+ * woocommerce_before_main_content hook
+ *
+ * @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content)
+ * @hooked woocommerce_breadcrumb - 20
+ */
+ do_action( 'woocommerce_before_main_content' );
+ ?>
+
+ <?php if ( apply_filters( 'woocommerce_show_page_title', true ) ) : ?>
+
+ <h1 class="page-title"><?php woocommerce_page_title(); ?></h1>
+
+ <?php endif; ?>
+
+ <?php do_action( 'woocommerce_archive_description' ); ?>
+
+ <?php
+ /**
+ * woocommerce_after_main_content hook
+ *
+ * @hooked woocommerce_output_content_wrapper_end - 10 (outputs closing divs for the content)
+ */
+ do_action( 'woocommerce_after_main_content' );
+ ?>
+ </div>
+ <?php } else if (is_product_tag() || is_product_category()) { ?>
+ <div class="small-12 medium-9 columns main woo-tags">
+
+ <?php
+ /**
+ * woocommerce_before_main_content hook
+ *
+ * @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content)
+ * @hooked woocommerce_breadcrumb - 20
+ */
+ do_action( 'woocommerce_before_main_content' );
+ ?>
+
+ <?php if ( apply_filters( 'woocommerce_show_page_title', true ) ) : ?>
+
+ <h1 class="page-title"><?php woocommerce_page_title(); ?></h1>
+
+ <?php endif; ?>
+
+ <?php do_action( 'woocommerce_archive_description' ); ?>
+
+ <?php if ( have_posts() ) : ?>
+
+ <?php
+ /**
+ * woocommerce_before_shop_loop hook
+ *
+ * @hooked woocommerce_result_count - 20
+ * @hooked woocommerce_catalog_ordering - 30
+ */
+ do_action( 'woocommerce_before_shop_loop' );
+ ?>
+
+ <?php woocommerce_product_loop_start(); ?>
+
+ <?php woocommerce_product_subcategories(); ?>
+
+ <?php while ( have_posts() ) : the_post(); ?>
+
+ <?php wc_get_template_part( 'content', 'product' ); ?>
+
+ <?php endwhile; // end of the loop. ?>
+
+ <?php woocommerce_product_loop_end(); ?>
+
+ <?php
+ /**
+ * woocommerce_after_shop_loop hook
+ *
+ * @hooked woocommerce_pagination - 10
+ */
+ do_action( 'woocommerce_after_shop_loop' );
+ ?>
+
+ <?php elseif ( ! woocommerce_product_subcategories( array( 'before' => woocommerce_product_loop_start( false ), 'after' => woocommerce_product_loop_end( false ) ) ) ) : ?>
+
+ <?php wc_get_template( 'loop/no-products-found.php' ); ?>
+
+ <?php endif; ?>
+
+ <?php
+ /**
+ * woocommerce_after_main_content hook
+ *
+ * @hooked woocommerce_output_content_wrapper_end - 10 (outputs closing divs for the content)
+ */
+ do_action( 'woocommerce_after_main_content' );
+ ?>
+ </div>
+ <?php } else if (is_product()) { ?>
+ <div class="small-12 medium-9 columns main woo-single-product">
+ <?php
+ /**
+ * woocommerce_before_main_content hook
+ *
+ * @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content)
+ * @hooked woocommerce_breadcrumb - 20
+ */
+ do_action( 'woocommerce_before_main_content' );
+ ?>
+
+ <?php while ( have_posts() ) : the_post(); ?>
+
+ <?php wc_get_template_part( 'content', 'single-product' ); ?>
+
+ <?php endwhile; // end of the loop. ?>
+
+ <?php
+ /**
+ * woocommerce_after_main_content hook
+ *
+ * @hooked woocommerce_output_content_wrapper_end - 10 (outputs closing divs for the content)
+ */
+ do_action( 'woocommerce_after_main_content' );
+ ?>
+ </div>
+ <?php } ?>
+ </div>
+ </div>
+
+<?php get_footer(); ?>