-
Notifications
You must be signed in to change notification settings - Fork 26
/
shoppingcart.yaml
172 lines (155 loc) · 4.39 KB
/
shoppingcart.yaml
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
enabled: true
general:
currency: USD
default_country: US
product_taxes: excluded
load_js_globally: true
shipping:
methods:
-
name: 'All countries'
allowed_countries:
- '*'
price: '0'
urls:
checkout_url: /checkout
save_order_url: /save_order
order_url: /order
ui:
currency_symbol_position: before
remove_cents_if_zero: true
use_own_css: true
image_size_product: 400
image_size_cart: 50
cart:
allow_editing_quantity_from_cart: true
timeout: 180
add_shipping_and_taxes_cost_to_total: true
maximum_total_quantity_value:
add_product_thumbnail: true
countries:
-
name: US
allow: '1'
tax_percentage: '10'
-
name: '*'
allow: '1'
checkout_form:
name: checkout
fields:
-
type: display
content: PLUGIN_SHOPPINGCART.CHECKOUT_HEADLINE_YOUR_PERSONAL_DETAILS
markdown: true
-
name: firstname
type: text
label: PLUGIN_SHOPPINGCART.CHECKOUT_FIRST_NAME
classes: js__billing__firstname
validate:
required: true
-
name: lastname
type: text
label: PLUGIN_SHOPPINGCART.CHECKOUT_LAST_NAME
classes: js__billing__lastname
validate:
required: true
-
name: email
type: email
label: PLUGIN_SHOPPINGCART.CHECKOUT_EMAIL
classes: js__billing__email
validate:
required: true
-
type: display
content: PLUGIN_SHOPPINGCART.CHECKOUT_HEADLINE_YOUR_ADDRESS
markdown: true
-
name: address
type: text
label: PLUGIN_SHOPPINGCART.CHECKOUT_ADDRESS
classes: js__billing__address
validate:
required: true
-
name: telephone
type: text
label: PLUGIN_SHOPPINGCART.CHECKOUT_PHONE
classes: js__billing__telephone
validate:
required: true
-
name: city
type: text
label: PLUGIN_SHOPPINGCART.CHECKOUT_CITY
classes: js__billing__city
validate:
required: true
-
name: zip
type: text
label: PLUGIN_SHOPPINGCART.CHECKOUT_ZIP
classes: js__billing__zip
validate:
required: true
-
name: country
type: select
label: PLUGIN_SHOPPINGCART.CHECKOUT_COUNTRY
classes: js__billing__country
id: js__billing__country
validate:
required: true
-
name: state
type: select
label: PLUGIN_SHOPPINGCART.CHECKOUT_STATE
classes: js__billing__state
outerclasses: js__billing__state__control
id: js__billing__state
-
name: province
type: text
label: PLUGIN_SHOPPINGCART.CHECKOUT_PROVINCE
classes: js__billing__province
outerclasses: js__billing__province__control
-
type: display
content: PLUGIN_SHOPPINGCART.CHECKOUT_SHIPPING_METHOD
ignore: true
markdown: true
-
name: shipping_method
type: select
label: PLUGIN_SHOPPINGCART.CHECKOUT_CHOOSE_SHIPPING_METHOD_DESC
classes: js__shipping__method
outerclasses: js__checkout-choose-shipping-block
id: js__shipping__method
-
type: display
content: PLUGIN_SHOPPINGCART.CHECKOUT_PAYMENT_METHOD
markdown: true
ignore: true
outerclasses: js__checkout-choose-payment-block-title
-
name: payment_method
type: select
ignore: true
label: PLUGIN_SHOPPINGCART.CHECKOUT_CHOOSE_PAYMENT_METHOD_DESC
classes: js__payment__method
outerclasses: js__checkout-choose-payment-block
id: js__payment__method
-
name: agree_to_terms
type: checkbox
ignore: true
label: PLUGIN_SHOPPINGCART.TERMS_AND_CONDITIONS
validate:
required: true
buttons:
-
type: submit
value: PLUGIN_SHOPPINGCART.CHECKOUT_BUTTON_PAY