-
Notifications
You must be signed in to change notification settings - Fork 622
Expand file tree
/
Copy pathorder-contents.html
More file actions
113 lines (111 loc) · 5.48 KB
/
Copy pathorder-contents.html
File metadata and controls
113 lines (111 loc) · 5.48 KB
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
<h3 class="account-heading">{{lang 'account.orders.details.order_contents'}}</h3>
<ul class="account-list">
{{#each order.items}}
{{#each shipping_rows}}
{{#if is_shipping}}
<li class="account-listShipping">
<h5 class="account-listShipping-title">{{lang 'account.orders.details.ship_to_multi' street=address city=city state=state zip=zip country=country}}</h5>
</li>
{{/if}}
{{/each}}
<li class="account-listItem">
<div class="account-product account-product--alignMiddle">
<div class="account-product-checkItem">
{{#if show_reorder}}
<input class="form-checkbox" type="checkbox" id="account-product-id-{{order_product_id}}" value="{{order_product_id}}">
<label for="account-product-id-{{order_product_id}}" class="form-label">
<span class="is-srOnly">Checkbox {{order_product_id}} label</span>
</label>
{{/if}}
</div>
<figure class="account-product-figure">
{{#if type '===' 'giftcertificate'}}
<img
src="{{cdn ../theme_settings.default_image_gift_certificate}}"
alt="Gift Certificate"
title="Gift Certificate"
>
{{else}}
{{> components/common/responsive-img
image=image
class="account-product-image"
fallback_size=../theme_settings.productthumb_size
lazyload=../theme_settings.lazyload_mode
default_image=../theme_settings.default_image_product
}}
{{/if}}
{{#unless refunded}}
{{#if download_url}}
<a href="{{download_url}}" class="account-product-download button button--primary">
<span class="is-srOnly">{{lang 'account.orders.details.download_items'}}</span>
<span class="icon">
<svg>
<use href="#icon-arrow-down"></use>
</svg>
</span>
</a>
{{/if}}
{{/unless}}
</figure>
<div class="account-product-body">
<span class="account-product-price">{{price.formatted}}</span>
<h5 class="account-product-title">{{quantity}} × {{name}}</h5>
{{#if brand}}
<h6>{{brand.name}}</h6>
{{/if}}
{{#if options}}
<dl class="definitionList">
{{#each options}}
<dt class="definitionList-key">{{name}}:</dt>
<dd class="definitionList-value">
{{> components/common/product-options}}
{{#if quantity_backordered '>' 0}}
<p class="account-product-backorder-prompts">{{lang 'products.quantity_backordered' quantity=quantity_backordered}}</p>
{{#if backorder_message}}
<p class="account-product-backorder-prompts">{{backorder_message}}</p>
{{/if}}
{{/if}}
</dd>
{{/each}}
</dl>
{{/if}}
{{#if gift_wrapping_name}}
<dl class="definitionList">
<dt class="definitionList-key">{{lang 'account.orders.gift_wrapping'}}</dt>
<dd class="definitionList-value">{{gift_wrapping_name}}</dd>
</dl>
{{/if}}
{{#if event_date}}
<dl class="definitionList">
<dt class="definitionList-key">
{{event_date.name}}:
</dt>
<dd class="definitionList-value">
{{event_date.date}}
</dd>
</dl>
{{/if}}
{{#if quantity_backordered '>' 0}}
{{#if (subtract quantity quantity_backordered) '>' 0}}
<p class="account-product-backorder-prompts">{{lang 'products.quantity_on_hand' quantity=(subtract quantity quantity_backordered)}}</p>
{{/if}}
<p class="account-product-backorder-prompts">{{lang 'products.quantity_backordered' quantity=quantity_backordered}}</p>
{{#if backorder_message}}
<p class="account-product-backorder-prompts">{{backorder_message}}</p>
{{/if}}
{{/if}}
{{#if refunded}}
<p class="account-product-refundQty">{{lang 'account.orders.refunded_quantity' qty=refunded_qty}}</p>
{{else}}
{{#if refunded_qty}}
<p class="account-product-refundQty">{{lang 'account.orders.refunded_quantity' qty=refunded_qty}}</p>
{{/if}}
{{/if}}
{{#if reorder_message}}
<p>{{{reorder_message}}}</p>
{{/if}}
</div>
</div>
</li>
{{/each}}
</ul>