-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwoocommerce.php
65 lines (53 loc) · 1.92 KB
/
woocommerce.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php
/**
* The template for displaying all pages.
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other 'pages' on your WordPress site will use a
* different template.
*
* @package understrap
*/
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
get_header();
?>
<!-- <div <?php generate_do_attr( 'content' ); ?>>
<main <?php generate_do_attr( 'main' ); ?>> -->
<!-- <div class="content-area"> -->
<main class="content-shopping">
<?php if(is_shop()) { ?>
<div class="alert alert-success text-center lead">
<span>FREE SHIPPING with any order over $50!</span>
</div>
<div class="grid shop-topper">
<div class="img-container">
</div>
<div class="product-highlights">
<!-- <div class="best-sellers">
<h3 class="featured-shop-heading">Best Sellers</h3>
<?php
//echo do_shortcode('[products limit="2" columns="2" best_selling="true" ]');
?>
</div> -->
<div class="featured-products">
<h3 class="featured-shop-heading">Featured Items</h3>
<?php
echo do_shortcode('[products limit="4" columns="4" visibility="featured" order_by="popularity" ]');
?>
</div>
</div>
</div>
<?php } ?>
<div class="grid shopping-content">
<div class="product-info">
<?php woocommerce_content(); ?>
</div>
<div class="sidebar sidebar-shopping">
<?php get_sidebar('shop'); ?>
</div>
</div>
</main>
<!-- </div> -->
<?php get_footer(); ?>