You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/manual/frontend-configuration/inserttags/_index.en.md
+87-24Lines changed: 87 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -6,15 +6,13 @@ aliases:
6
6
weight: 30
7
7
---
8
8
9
-
{{% notice warning %}}
10
-
This article is machine translated.
11
-
{{% /notice %}}
12
-
13
9
Isotope eCommerce offers a variety of InsertTags that you can use in the frontend.
14
10
15
11
{{< version "2.3" >}}
16
12
17
-
The InsertTags have been unified in Isotope eCommerce 2.3. It is possible that you are still using old InsertTags. These will still work until version 3.0, so choose the appropriate new InsertTag from the list below today!
13
+
The InsertTags have been unified in Isotope eCommerce 2.3. It is possible that you are still using old InsertTags. These will still work
14
+
until version 3.0, so choose the appropriate new InsertTag from the list below today!
15
+
18
16
19
17
## InsertTags for the current shopping cart
20
18
@@ -28,19 +26,21 @@ The InsertTags have been unified in Isotope eCommerce 2.3. It is possible that y
28
26
<tbody>
29
27
<tr>
30
28
<td><code>{{cart::items}}</code></td>
31
-
<td>Returns the number of individual products in the shopping cart. The quantities are ignored here. So if `Mein Produkt 1` was added to the cart four times, this InsertTag will only count it once.</td>
29
+
<td>Returns the number of individual products in the shopping cart. The quantities are ignored here. So if <code>My product 1</code> was
30
+
added to the cart four times, this InsertTag will only count it once.</td>
32
31
</tr>
33
32
<tr>
34
33
<td><code>{{cart::items_label}}</code></td>
35
-
<td>Returns the number of individual products in the cart including the translation. Example: `1 Produkt`</td>
34
+
<td>Returns the number of individual products in the cart including the translation. Example: <code>1 product</code></td>
36
35
</tr>
37
36
<tr>
38
37
<td><code>{{cart::quantity}}</code></td>
39
-
<td>Returns the total number of products in the cart. The quantities are taken into account here. So if `Mein Produkt 1` was added to the cart four times, this InsertTag will count it four times.</td>
38
+
<td>Returns the total number of products in the cart. The quantities are taken into account here. So if <code>My product 1</code> was
39
+
added to the cart four times, this InsertTag will count it four times.</td>
40
40
</tr>
41
41
<tr>
42
42
<td><code>{{cart::quantity_label}}</code></td>
43
-
<td>Returns the total number of products in the cart including the translation. Example: `4 Produkte`</td>
43
+
<td>Returns the total number of products in the cart including the translation. Example: <code>4 products</code></td>
44
44
</tr>
45
45
<tr>
46
46
<td><code>{{cart::subtotal}}</code></td>
@@ -68,14 +68,17 @@ The InsertTags have been unified in Isotope eCommerce 2.3. It is possible that y
68
68
</tr>
69
69
<tr>
70
70
<td><code>{{cart::~}}</code></td>
71
-
<td>All parameters that do not match one of the previous ones will be searched directly on the database table `tl_iso_product_collection`, where the placeholder refers to the corresponding column. Use this InsertTag e.g. to get the currency: <code>{{cart::currency}}</code></td>
71
+
<td>All parameters that do not match one of the previous ones will be searched directly on the database table <code>tl_iso_product_collection</code>,
72
+
where the placeholder refers to the corresponding column. Use this InsertTag e.g. to get the currency: <code>{{cart::currency}}</code></td>
72
73
</tr>
73
74
</tbody>
74
75
</table>
75
76
77
+
76
78
## InsertTags for the current order
77
79
78
-
{{% notice warning %}}To get the current order, the GET parameter "uid" must be in the URL. This is the case on the order confirmation page, for example. It would look something like this: "complete.html?uid=550af3fe73763" {{% /notice %}}
80
+
{{% notice warning %}}<p>To get the current order, the GET parameter "uid" must be in the URL. This is the case on the order confirmation page, for example.
81
+
It would look something like this: "complete.html?uid=550af3fe73763"</p>{{% /notice %}}
79
82
80
83
<table>
81
84
<thead>
@@ -87,19 +90,21 @@ The InsertTags have been unified in Isotope eCommerce 2.3. It is possible that y
87
90
<tbody>
88
91
<tr>
89
92
<td><code>{{order::items}}</code></td>
90
-
<td>Returns the number of individual products in the order. The quantity information is ignored here. So if `Mein Produkt 1` was ordered four times, this InsertTag will only count it once.</td>
93
+
<td>Returns the number of individual products in the order. The quantity information is ignored here. So if <code>My product 1</code> was
94
+
ordered four times, this InsertTag will only count it once.</td>
91
95
</tr>
92
96
<tr>
93
97
<td><code>{{order::items_label}}</code></td>
94
-
<td>Returns the number of individual products in the order including the translation. Example: `1 Produkt`</td>
98
+
<td>Returns the number of individual products in the order including the translation. Example: <code>1 product</code></td>
95
99
</tr>
96
100
<tr>
97
101
<td><code>{{order::quantity}}</code></td>
98
-
<td>Returns the total number of products in the order. The quantity information is included here. So if `Mein Produkt 1` was ordered four times, this InsertTag will count it four times.</td>
102
+
<td>Returns the total number of products in the order. The quantity information is included here. So if <code>My product 1</code> was ordered
103
+
four times, this InsertTag will count it four times.</td>
99
104
</tr>
100
105
<tr>
101
106
<td><code>{{order::quantity_label}}</code></td>
102
-
<td>Returns the total number of products in the order including translation. Example: `4 Produkte`</td>
107
+
<td>Returns the total number of products in the order including translation. Example: <code>4 products</code></td>
103
108
</tr>
104
109
<tr>
105
110
<td><code>{{order::subtotal}}</code></td>
@@ -127,11 +132,66 @@ The InsertTags have been unified in Isotope eCommerce 2.3. It is possible that y
127
132
</tr>
128
133
<tr>
129
134
<td><code>{{order::~}}</code></td>
130
-
<td>All parameters that do not match one of the previous ones will be searched directly on the database table `tl_iso_product_collection`, where the placeholder refers to the corresponding column. Use this InsertTag e.g. to get the order number: <code>{{order::document_number}}</code></td>
135
+
<td>All parameters that do not match one of the previous ones will be searched directly on the database table <code>tl_iso_product_collection</code>,
136
+
where the placeholder refers to the corresponding column. Use this InsertTag e.g. to get the order number: <code>{{order::document_number}}</code></td>
131
137
</tr>
132
138
</tbody>
133
139
</table>
134
140
141
+
142
+
## InsertTags for the current favorites
143
+
144
+
<table>
145
+
<thead>
146
+
<tr>
147
+
<th>InsertTag</th>
148
+
<th>Description</th>
149
+
</tr>
150
+
</thead>
151
+
<tbody>
152
+
<tr>
153
+
<td><code>{{favorites::items}}</code></td>
154
+
<td>Returns the number of individual products in the favorites. The quantity information is ignored here. So if <code>My product 1</code> was
155
+
ordered four times, this InsertTag will only count it once.</td>
156
+
</tr>
157
+
<tr>
158
+
<td><code>{{favorites::items_label}}</code></td>
159
+
<td>Returns the number of individual products in the favorites including the translation. Example: <code>1 product</code></td>
160
+
</tr>
161
+
<tr>
162
+
<td><code>{{favorites::quantity}}</code></td>
163
+
<td>Returns the total number of products in the favorites The quantity information is included here. So if <code>My product 1</code> was ordered
164
+
four times, this InsertTag will count it four times.</td>
<td>Returns the total of the favorites. This InsertTag does not take taxes into account.</td>
185
+
</tr>
186
+
<tr>
187
+
<td><code>{{favorites::~}}</code></td>
188
+
<td>All parameters that do not match one of the previous ones will be searched directly on the database table <code>tl_iso_product_collection</code>,
189
+
where the placeholder refers to the corresponding column. Use this InsertTag e.g. to get the order number: <code>{{order::document_number}}</code></td>
190
+
</tr>
191
+
</tbody>
192
+
</table>
193
+
194
+
135
195
## Product specific InsertTags
136
196
137
197
<table>
@@ -153,9 +213,10 @@ The InsertTags have been unified in Isotope eCommerce 2.3. It is possible that y
153
213
</tbody>
154
214
</table>
155
215
216
+
156
217
## InsertTags for translations.
157
218
158
-
For more information about translations, we refer you to the corresponding[documentation](/de/backend-konfiguration-shop-verschiedenes-%C3%9Cbersetzungen/).
219
+
For more information about translations, we refer you to the corresponding[documentation](/en/backend-configuration/store-configuration/miscellaneous/translations/).
159
220
160
221
<table>
161
222
<thead>
@@ -167,18 +228,20 @@ For more information about translations, we refer you to the corresponding[docum
167
228
<tbody>
168
229
<tr>
169
230
<td><code>{{isolabel::~}}</code></td>
170
-
<td>Returns the translation of a given string in the language of the current page. Example: <code>{{isolabel::Meine Zeichenfolge}}</code></td>
231
+
<td>Returns the translation of a given string in the language of the current page. Example: <code>{{isolabel::My string}}</code></td>
171
232
</tr>
172
233
<tr>
173
234
<td><code>{{isolabel::~::~}}</code></td>
174
-
<td>Returns the translation of a given string in a given language. Example: <code>{{isolabel::Meine Zeichenfolge::en_US}}</code></td>
235
+
<td>Returns the translation of a given string in a given language. Example: <code>{{isolabel::My string::en_US}}</code></td>
175
236
</tr>
176
237
</tbody>
177
238
</table>
178
239
240
+
179
241
## Format Simple Token Timestamp with InsertTag.
180
242
181
-
The following customization of the InsertTag can be used to affect the output of the date and time using the Date function (related link: [PHP Date function](http://php.net/manual/de/function.date.php#refsect1-function.date-parameters)):
243
+
The following customization of the InsertTag can be used to affect the output of the date and time using the Date function (related link:
244
+
[PHP Date function](http://php.net/manual/de/function.date.php#refsect1-function.date-parameters)):
182
245
183
246
<table>
184
247
<thead>
@@ -190,19 +253,19 @@ The following customization of the InsertTag can be used to affect the output of
0 commit comments