-
Notifications
You must be signed in to change notification settings - Fork 0
/
additional-details.html
125 lines (120 loc) · 5.56 KB
/
additional-details.html
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
120
121
122
123
124
125
<div class="single-product-meta-wrap">
{{#if product.stock_level}}
<div class="single-product-meta-item single-product-meta-item-stock">
<span class="single-product-meta-item-label">{{lang 'products.current_stock'}}:</span>
<span class="single-product-meta-item-value">{{product.stock_level}}</span>
</div>
{{/if}}
{{#if product.sku}}
<div class="single-product-meta-item single-product-meta-item-sku">
<span class="single-product-meta-item-label">{{lang 'product.sku'}}:</span>
<span class="single-product-meta-item-value" data-product-sku>{{product.sku}}</span>
</div>
{{/if}}
{{#if product.upc}}
<div class="single-product-meta-item single-product-meta-item-upc">
<span class="single-product-meta-item-label">{{lang 'product.upc'}}:</span>
<span class="single-product-meta-item-value" data-product-upc>{{product.upc}}</span>
</div>
{{/if}}
{{#if product.release_date}}
<div class="single-product-meta-item single-product-meta-item-release-date">
<span class="single-product-meta-item-label">{{lang 'product.release_date'}}:</span>
<span class="single-product-meta-item-value">{{product.release_date}}</span>
</div>
{{/if}}
{{#if product.width}}
<div class="single-product-meta-item single-product-meta-item-size">
<span class="single-product-meta-item-label">{{lang 'product.size.label'}}:</span>
<span class="single-product-meta-item-value">
{{#if product.width}}
{{product.width}}
{{lang 'product.size.width'}}
{{/if}}
×
{{#if product.height}}
{{product.height}}
{{lang 'product.size.height'}}
{{/if}}
×
{{#if product.depth}}
{{product.depth}}
{{lang 'product.size.length'}}
{{/if}}
</span>
</div>
{{/if}}
{{#if product.condition}}
<div class="single-product-meta-item single-product-meta-item-condition">
<span class="single-product-meta-item-label">{{lang 'product.condition'}}:</span>
<span class="single-product-meta-item-value">{{product.condition}}</span>
</div>
{{/if}}
{{#if product.availability}}
<div class="single-product-meta-item single-product-meta-item-availability">
<span class="single-product-meta-item-label">{{lang 'product.availability'}}:</span>
<span class="single-product-meta-item-value">{{product.availability}}</span>
</div>
{{/if}}
{{#if product.weight}}
<div class="single-product-meta-item single-product-meta-item-weight">
<span class="single-product-meta-item-label">{{lang 'product.weight'}}:</span>
<span class="single-product-meta-item-value" data-product-weight>{{product.weight}}</span>
</div>
{{/if}}
{{#if product.gift_wrapping_available}}
<div class="single-product-meta-item single-product-meta-item-gift-wrapping">
<span class="single-product-meta-item-label">{{lang 'product.gift_wrapping'}}:</span>
<span class="single-product-meta-item-value">{{lang 'product.gift_wrapping_available'}}</span>
</div>
{{/if}}
{{#if product.description}}
<div class="single-product-meta-item single-product-meta-item-details" show-more>
<span class="single-product-meta-item-label">{{lang 'product.Details'}}:</span>
{{{product.description}}}
{{{snippet 'product_description'}}}
</div>
{{/if}}
{{#if product.shipping}}
{{#if product.shipping.calculated}}
<div class="single-product-meta-item single-product-meta-item-shipping">
<span class="single-product-meta-item-label">{{lang 'product.shipping'}}:</span>
<span class="single-product-meta-item-value">{{lang 'product.shipping_calculated'}}</span>
</div>
{{else}}
{{#compare product.shipping.price 0 operator='==='}}
<div class="single-product-meta-item single-product-meta-item-shipping">
<span class="single-product-meta-item-label">{{lang 'product.shipping'}}:</span>
<span class="single-product-meta-item-value">{{lang 'product.shipping_free'}}</span>
</div>
{{else}}
<div class="single-product-meta-item single-product-meta-item-shipping">
<span class="single-product-meta-item-label">{{lang 'product.shipping'}}:</span>
<span class="single-product-meta-item-value">{{lang 'product.shipping_fixed' amount=product.shipping.price.formatted}}</span>
</div>
{{/compare}}
{{/if}}
{{/if}}
{{#each product.custom_fields}}
<div class="single-product-meta-item single-product-meta-item-custom-fields">
<span class="single-product-meta-item-label">{{name}}:</span>
<span class="single-product-meta-item-value">{{value}}</span>
</div>
{{/each}}
{{#if product.bulk_discount_rates.length}}
<div class="single-product-meta-item single-product-meta-item-bulk-discounts single-product-bulk-discounts">
<span class="single-product-meta-item-label">{{lang 'product.bulk_pricing.title'}}</span>
<span class="single-product-meta-item-value">
<a href="#" class="product-bulk-pricing-toggle">{{lang 'product.bulk_pricing.see_pricing'}}</a>
</span>
</div>
{{/if}}
{{#if product.detail_messages}}
<div class="single-product-meta-item single-product-meta-item-detail-messages">
<span class="single-product-meta-item-label">{{lang 'product.message'}}</span>
<span class="single-product-meta-item-value">
{{product.detail_messages}}
</span>
</div>
{{/if}}
</div>