-
Notifications
You must be signed in to change notification settings - Fork 42
/
settings.html
44 lines (44 loc) · 2.28 KB
/
settings.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
<fieldset>
<legend>Shipping Rates Calculator</legend>
<table>
<tr>
<td><label for="shipping_calculator">Show the shipping calculator?</label></td>
<td>
<select id="shipping_calculator" name="shipping_calculator">
<option value="Disabled">No</option>
<option value="Enabled" selected="selected">Yes</option>
</select>
</td>
</tr>
<tr>
<td><label for="shipping_calculator_heading">Heading text</label></td>
<td>
<input type="text" name="shipping_calculator_heading" id="shipping_calculator_heading" size="30" value="Get shipping estimates" />
</td>
</tr>
<tr>
<td><label for="shipping_calculator_default_country">Default country selection</label></td>
<td>
<input type="text" name="shipping_calculator_default_country" id="shipping_calculator_default_country" size="30" value="United States" />
</td>
</tr>
<tr>
<td colspan="2"><span class="note">If your customer is logged-in, the country in his default shipping address will be selected. If you are not sure about the spelling to use here, refer to the first checkout page.</span></td>
</tr>
<tr>
<td><label for="shipping_calculator_submit_button_label">Submit button label</label></td>
<td>
<input type="text" name="shipping_calculator_submit_button_label" id="shipping_calculator_submit_button_label" size="30" value="Calculate shipping" />
</td>
</tr>
<tr>
<td><label for="shipping_calculator_submit_button_label_disabled">Submit button label when calculating</label></td>
<td>
<input type="text" name="shipping_calculator_submit_button_label_disabled" id="shipping_calculator_submit_button_label_disabled" size="30" value="Calculating..." />
</td>
</tr>
<tr>
<td colspan="2"><span class="note">Do not forget to include the snippet <strong>shipping-calculator</strong> in your cart.liquid template where you want the shipping calculator to appear. Use this Liquid:<br /><code>{% include 'shipping-calculator' %}</code> to include your snippet. You can get the snippet here: <a href="https://github.com/carolineschnapp/shipping-calculator/blob/master/shipping-calculator.liquid">shipping-calculator.liquid</a>.</span></td>
</tr>
</table>
</fieldset>