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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
|
<?php
/** * The template for displaying lookbook product style content within loops. * * Override this template by copying it to yourtheme/woocommerce/content-product.php * * @author WooThemes * @package WooCommerce/Templates * @version 1.6.4 */
global $post, $product, $flatsome_opt;
// Get category permalink $permalinks = get_option( 'woocommerce_permalinks' ); $category_slug = empty( $permalinks['category_base'] ) ? _x( 'product-category', 'slug', 'woocommerce' ) : $permalinks['category_base']; ?>
<?php /** * woocommerce_before_single_product hook * * @hooked woocommerce_show_messages - 10 */ do_action( 'woocommerce_before_single_product' ); ?>
<div itemscope itemtype="http://schema.org/Product" id="product-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="row"> <div class="large-6 columns product-gallery"> <?php /** * woocommerce_show_product_images hook * * @hooked woocommerce_show_product_sale_flash - 10 * @hooked woocommerce_show_product_images - 20 */ do_action( 'woocommerce_before_single_product_summary' ); ?> </div><!-- end large-6 - product-gallery --> <div class="product-info large-4 small-12 columns left"> <?php /** * woocommerce_single_product_summary hook * * @hooked woocommerce_template_single_title - 5 * @hooked woocommerce_template_single_price - 10 * @hooked ProductShowReviews() (inc/template-tags.php) - 15 * @hooked woocommerce_template_single_excerpt - 20 * @hooked woocommerce_template_single_add_to_cart - 30 * @hooked woocommerce_template_single_meta - 40 * @hooked woocommerce_template_single_sharing - 50 */ do_action( 'woocommerce_single_product_summary' ); ?> </div><!-- end product-info large-4 -->
<div class="product-page-aside large-2 small-12 columns text-center hide-for-small"> <div class="next-prev-nav"> <?php // edit this in inc/template-tags.php // ?> <?php next_post_link_product('%link', 'icon-angle-left next', true); ?> <?php previous_post_link_product('%link', 'icon-angle-right prev', true); ?> </div>
<?php woocommerce_get_template('single-product/up-sells.php');?>
</div><!-- .product-page-aside --> </div><!-- end row --> <?php //Get the Thumbnail URL for pintrest $src = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), false, '' ); ?>
<div class="row"> <div class="large-12 columns"> <div class="product-details <?php echo $flatsome_opt['product_display']; ?>-style"> <div class="row">
<div class="large-12 columns "> <?php woocommerce_get_template('single-product/tabs/tabs.php'); ?> </div><!-- .large-9 --> </div><!-- .row --> </div><!-- .product-details-->
<hr/><!-- divider --> </div><!-- .large-12 --> </div><!-- .row -->
<div class="related-product"> <?php /** * woocommerce_after_single_product_summary hook * * @hooked woocommerce_output_related_products - 20 */
do_action( 'woocommerce_after_single_product_summary' );
?> </div><!-- related products -->
</div><!-- #product-<?php the_ID(); ?> -->
<?php do_action( 'woocommerce_after_single_product' ); ?>
|