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 4.7.6 4.7.7 4.7.8 4.7.9 4.8.0 4.9.0 4.9.1 5.0.1 5.0.2 5.1.1 5.1.2 5.1.3 5.2.0 5.2.1 5.3.2 5.3.3.1 5.3.4 5.3.5 5.3.6 5.3.7
woocommerce-multilingual / templates / multi-currency / custom-prices.twig
woocommerce-multilingual / templates / multi-currency Last commit date
currencies-dropdown.twig 5 years ago currency-switcher-options-dialog.twig 1 year ago currency-switcher-options.twig 2 years ago custom-prices.twig 5 years ago exchange-rates.twig 4 years ago multi-currency.twig 4 years ago
custom-prices.twig
141 lines
1 {% if is_variation %}
2 <tr><td>
3 {% endif %}
4
5 <div class="wcml_custom_prices_block">
6 {% if currencies is empty %}
7 <div class="wcml_custom_prices_options_block">
8 <label>{{ strings.not_set|raw }}</label>
9 </div>
10 {% else %}
11 <div class="wcml_custom_prices_options_block">
12
13 <label for="wcml_custom_prices_auto[{{ product_id }}]">
14 <input type="radio" name="_wcml_custom_prices[{{ product_id }}]" id="wcml_custom_prices_auto[{{ product_id }}]" value="0" class="wcml_custom_prices_input" {{ checked_calc_auto|raw }} />
15 {{ strings.calc_auto }}&nbsp;
16 <span class="block_actions" {% if checked_calc_auto is not empty %} style="display: inline;" {% endif %}>(
17 <a href="" class="wcml_custom_prices_auto_block_show" title="{{ strings.see_prices|e }}">{{ strings.show }}</a>
18 <a href="" class="wcml_custom_prices_auto_block_hide">{{ strings.hide }}</a>
19 )</span>
20 </label>
21
22
23 <label for="wcml_custom_prices_manually[{{ product_id }}]">
24 <input type="radio" name="_wcml_custom_prices[{{ product_id }}]" value="1" id="wcml_custom_prices_manually[{{ product_id }}]" class="wcml_custom_prices_input" {{ checked_calc_manually|raw }} />
25 {{ strings.set_manually }}
26 </label>
27 <div class="wcml_custom_prices_manually_block_control">
28 <a {% if checked_calc_manually is not empty %} style="display:none" {% endif %} href="" class="wcml_custom_prices_manually_block_show">&raquo; {{ strings.enter_prices }}</a>
29 <a style="display:none" href="" class="wcml_custom_prices_manually_block_hide">- {{ strings.hide_prices }}</a>
30 </div>
31 </div>
32
33 <div class="wcml_custom_prices_manually_block" {% if checked_calc_manually is not empty %} style="display: block;" {% endif %}>
34 {% for currency in currencies %}
35 <div class="currency_blck">
36 <label>
37 {{ currency.currency_format|raw }}
38 </label>
39
40 {% if currency.custom_price['_regular_price'] is empty %}
41 <span class="wcml_no_price_message">{{ strings.det_auto }}</span>
42 {% endif %}
43
44 {% if is_variation %}
45 {% for key, custom_price in currency.custom_price %}
46 <p>
47 <label>{{ strings[key] }} ( {{ currency.currency_symbol|raw }} )</label>
48 <input type="text"
49 name="_custom_variation{{ key }}{{ currency.custom_id }}"
50 class="wc_input_price wcml_input_price short wcml{{ key }}"
51 value="{{ custom_price }}" step="any" min="0" />
52 </p>
53 {% endfor %}
54 {% else %}
55 {% for custom_price_html in currency.custom_html %}
56 {{ custom_price_html|raw }}
57 {% endfor %}
58 {% endif %}
59
60 <div class="wcml_schedule">
61 <label>{{ strings.schedule }}</label>
62 <div class="wcml_schedule_options">
63
64
65 <label for="wcml_schedule_auto[{{ currency.currency_code }}]{{ html_id }}">
66 <input type="radio" name="_wcml_schedule[{{ currency.currency_code }}]{{ html_id }}"
67 id="wcml_schedule_auto[{{ currency.currency_code }}]{{ html_id }}"
68 value="0"
69 class="wcml_schedule_input" {{ currency.schedule_auto_checked|raw }} />
70 {{ strings.same_as_def }}
71 </label>
72
73
74 <label for="wcml_schedule_manually[{{ currency.currency_code }}]{{ html_id }}">
75 <input type="radio" name="_wcml_schedule[{{ currency.currency_code }}]{{ html_id }}"
76 value="1"
77 id="wcml_schedule_manually[{{ currency.currency_code }}]{{ html_id }}"
78 class="wcml_schedule_input" {{ currency.schedule_man_checked|raw }} />
79 {{ strings.set_dates }}
80 <span class="block_actions">(
81 <a href="" class="wcml_schedule_manually_block_show">{{ strings.schedule }}</a>
82 <a href="" class="wcml_schedule_manually_block_hide">{{ strings.collapse }}</a>
83 )</span>
84 </label>
85
86 <div class="wcml_schedule_dates">
87 <input type="text" class="short custom_sale_price_dates_from"
88 name="_custom{% if is_variation %}_variation{% endif %}_sale_price_dates_from{{ currency.custom_id }}"
89 id="_custom_sale_price_dates_from{{ currency.custom_id }}"
90 value="{{ currency.sale_price_dates_from|e }}"
91 placeholder="{{ strings.from|raw }} YYYY-MM-DD"
92 maxlength="10" pattern="[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|1[0-9]|2[0-9]|3[01])" />
93
94 <input type="text" class="short custom_sale_price_dates_to"
95 name="_custom{% if is_variation %}_variation{% endif %}_sale_price_dates_to{{ currency.custom_id }}"
96 id="_custom_sale_price_dates_to{{ currency.custom_id }}"
97 value="{{ currency.sale_price_dates_to|e }}"
98 placeholder="{{ strings.to|raw }} YYYY-MM-DD"
99 maxlength="10" pattern="[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|1[0-9]|2[0-9]|3[01])" />
100
101 </div>
102 </div>
103 </div>
104 </div>
105 {% endfor %}
106 </div>
107
108 <div class="wcml_automaticaly_prices_block">
109
110 {% for currency in currencies %}
111 <label>{{ currency.currency_format|raw }}</label>
112
113 {% if is_variation %}
114 {% for key, readonly_price in currency.readonly_price %}
115 <p>
116 <label>{{ strings[key] }} ( {{ currency.currency_symbol|raw }} )</label>
117 <input type="text"
118 name="_readonly{{ key }}"
119 class="wc_input_price short"
120 value="{{ readonly_price|e }}"
121 step="any" min="0" readonly = "readonly"
122 rel="{{ currency.rate|e }}" />
123 </p>
124 {% endfor %}
125 {% else %}
126 {% for readonly_html_price in currency.readonly_html %}
127 {{ readonly_html_price|raw }}
128 {% endfor %}
129 {% endif %}
130 {% endfor %}
131 </div>
132 {% endif %}
133
134 {% if is_variation is empty %}
135 <div class="wcml_price_error">{{ strings.enter_price }}</div>
136 {% endif %}
137 </div>
138
139 {% if is_variation %}
140 </td></tr>
141 {% endif %}