Skip to content

Commit 67202ea

Browse files
authored
Added insert tags for favorites collection
1 parent 5f58f6e commit 67202ea

File tree

1 file changed

+87
-24
lines changed

1 file changed

+87
-24
lines changed

docs/manual/frontend-configuration/inserttags/_index.en.md

Lines changed: 87 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,13 @@ aliases:
66
weight: 30
77
---
88

9-
{{% notice warning %}}
10-
This article is machine translated.
11-
{{% /notice %}}
12-
139
Isotope eCommerce offers a variety of InsertTags that you can use in the frontend.
1410

1511
{{< version "2.3" >}}
1612

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+
1816

1917
## InsertTags for the current shopping cart
2018

@@ -28,19 +26,21 @@ The InsertTags have been unified in Isotope eCommerce 2.3. It is possible that y
2826
<tbody>
2927
<tr>
3028
<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>
3231
</tr>
3332
<tr>
3433
<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>
3635
</tr>
3736
<tr>
3837
<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>
4040
</tr>
4141
<tr>
4242
<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>
4444
</tr>
4545
<tr>
4646
<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
6868
</tr>
6969
<tr>
7070
<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>
7273
</tr>
7374
</tbody>
7475
</table>
7576

77+
7678
## InsertTags for the current order
7779

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 %}}
7982

8083
<table>
8184
<thead>
@@ -87,19 +90,21 @@ The InsertTags have been unified in Isotope eCommerce 2.3. It is possible that y
8790
<tbody>
8891
<tr>
8992
<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>
9195
</tr>
9296
<tr>
9397
<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>
9599
</tr>
96100
<tr>
97101
<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>
99104
</tr>
100105
<tr>
101106
<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>
103108
</tr>
104109
<tr>
105110
<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
127132
</tr>
128133
<tr>
129134
<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>
131137
</tr>
132138
</tbody>
133139
</table>
134140

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>
165+
</tr>
166+
<tr>
167+
<td><code>{{favorites::quantity_label}}</code></td>
168+
<td>Returns the total number of products in the favorites including translation. Example: <code>4 products</code></td>
169+
</tr>
170+
<tr>
171+
<td><code>{{favorites::subtotal}}</code></td>
172+
<td>Returns the subtotal of the favorites. This InsertTag also takes taxes into account.</td>
173+
</tr>
174+
<tr>
175+
<td><code>{{favorites::taxfree_subtotal}}</code></td>
176+
<td>Returns the subtotal of the favorites. This InsertTag does not take taxes into account.</td>
177+
</tr>
178+
<tr>
179+
<td><code>{{favorites::total}}</code></td>
180+
<td>Returns the total of the favorites. This InsertTag also takes taxes into account.</td>
181+
</tr>
182+
<tr>
183+
<td><code>{{favorites::taxfree_total}}</code></td>
184+
<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+
135195
## Product specific InsertTags
136196

137197
<table>
@@ -153,9 +213,10 @@ The InsertTags have been unified in Isotope eCommerce 2.3. It is possible that y
153213
</tbody>
154214
</table>
155215

216+
156217
## InsertTags for translations.
157218

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/).
159220

160221
<table>
161222
<thead>
@@ -167,18 +228,20 @@ For more information about translations, we refer you to the corresponding[docum
167228
<tbody>
168229
<tr>
169230
<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>
171232
</tr>
172233
<tr>
173234
<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>
175236
</tr>
176237
</tbody>
177238
</table>
178239

240+
179241
## Format Simple Token Timestamp with InsertTag.
180242

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)):
182245

183246
<table>
184247
<thead>
@@ -190,19 +253,19 @@ The following customization of the InsertTag can be used to affect the output of
190253
<tbody>
191254
<tr>
192255
<td><code>{{formatted_datetime::##collection_locked##::<strong>d.m.Y</strong>}}</code></td>
193-
<td>Enter the desired format using the date function. With `d.m.Y` the output looks like this `01.09.2014`.</td>
256+
<td>Enter the desired format using the date function. With <code>d.m.Y</code> the output looks like this <code>01.09.2014</code>.</td>
194257
</tr>
195258
<tr>
196259
<td><code>{{formatted_datetime::##collection_locked##::<strong>date</strong>}}</code></td>
197-
<td>With `date` the date format which you have set under settings or in the start point of the page will be used.</td>
260+
<td>With <code>date</code> the date format which you have set under settings or in the start point of the page will be used.</td>
198261
</tr>
199262
<tr>
200263
<td><code>{{formatted_datetime::##collection_locked##::<strong>time</strong>}}</code></td>
201-
<td>With `time` the time format which you have defined under settings or in the starting point of the page is used.</td>
264+
<td>With <code>time</code> the time format which you have defined under settings or in the starting point of the page is used.</td>
202265
</tr>
203266
<tr>
204267
<td><code>{{formatted_datetime::##collection_locked##::<strong>datim</strong>}}</code></td>
205-
<td>With `datim` the date and time format which you have defined under settings or in the starting point of the page is used.</td>
268+
<td>With <code>datim</code> the date and time format which you have defined under settings or in the starting point of the page is used.</td>
206269
</tr>
207270
</tbody>
208271
</table>

0 commit comments

Comments
 (0)