Error compiling template "Designs/junckers/eCom/Productlist/espresso-download.cshtml"
Line 138: 'ProductService.GetPriceFormatted(double)' está obsoleto: 'Use ProductService.Instance.GetPrice instead for enhanced flexibility. This function will be removed in the next major version'
Line 140: 'ProductService.GetPriceFormatted(double)' está obsoleto: 'Use ProductService.Instance.GetPrice instead for enhanced flexibility. This function will be removed in the next major version'
Line 142: 'ProductService.GetPriceFormatted(double)' está obsoleto: 'Use ProductService.Instance.GetPrice instead for enhanced flexibility. This function will be removed in the next major version'
Line 600: 'ProductService.GetPriceFormatted(double)' está obsoleto: 'Use ProductService.Instance.GetPrice instead for enhanced flexibility. This function will be removed in the next major version'
Line 2216: El nombre 'paragraphId' no existe en el contexto actual
Line 2231: El nombre 'paragraphId' no existe en el contexto actual
Line 2338: El nombre 'paragraphId' no existe en el contexto actual
Line 2370: El nombre 'paragraphId' no existe en el contexto actual
Line 2449: El nombre 'paragraphId' no existe en el contexto actual
Line 2496: El nombre 'paragraphId' no existe en el contexto actual
Line 2518: El nombre 'paragraphId' no existe en el contexto actual
Line 2542: El nombre 'paragraphId' no existe en el contexto actual
Line 2593: El nombre 'paragraphId' no existe en el contexto actual
Line 2607: El nombre 'paragraphId' no existe en el contexto actual
Line 2628: El nombre 'paragraphId' no existe en el contexto actual
Line 2655: El nombre 'paragraphId' no existe en el contexto actual
Line 2666: El nombre 'paragraphId' no existe en el contexto actual
Line 2675: El nombre 'paragraphId' no existe en el contexto actual
Line 2700: El nombre 'paragraphId' no existe en el contexto actual
Line 2710: El nombre 'paragraphId' no existe en el contexto actual
Line 2787: El nombre 'paragraphId' no existe en el contexto actual
Line 2835: El nombre 'paragraphId' no existe en el contexto actual
Line 2851: El nombre 'paragraphId' no existe en el contexto actual
Line 2878: El nombre 'paragraphId' no existe en el contexto actual
Line 2916: El nombre 'paragraphId' no existe en el contexto actual
1 //------------------------------------------------------------------------------
2 // <auto-generated>
3 // This code was generated by a tool.
4 // Runtime Version:4.0.30319.42000
5 //
6 // Changes to this file may cause incorrect behavior and will be lost if
7 // the code is regenerated.
8 // </auto-generated>
9 //------------------------------------------------------------------------------
10
11 namespace CompiledRazorTemplates.Dynamic {
12 using System;
13 using System.Collections.Generic;
14 using System.Linq;
15
16 #line 13 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
17 using Co3.Espresso.Base.Extensions;
18
19 #line default
20 #line hidden
21
22 #line 15 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
23 using Co3.Espresso.Website.Models.FrontEnd;
24
25 #line default
26 #line hidden
27
28 #line 425 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
29 using Co3.Espresso.Website.Services;
30
31 #line default
32 #line hidden
33
34 #line 17 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
35 using Dynamicweb.Content;
36
37 #line default
38 #line hidden
39
40 #line 6 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
41 using Dynamicweb.Content.Items.Metadata;
42
43 #line default
44 #line hidden
45
46 #line 7 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
47 using Dynamicweb.Content.Items;
48
49 #line default
50 #line hidden
51
52 #line 18 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
53 using Dynamicweb.Frontend;
54
55 #line default
56 #line hidden
57
58 #line 9 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
59 using System.Web;
60
61 #line default
62 #line hidden
63
64 #line 10 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
65 using System.Web.Util;
66
67 #line default
68 #line hidden
69
70 #line 11 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
71 using ParagraphService = Co3.Espresso.Website.Services.ParagraphService;
72
73 #line default
74 #line hidden
75
76 #line 12 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
77 using System.Globalization;
78
79 #line default
80 #line hidden
81
82 #line 14 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
83 using Co3.Espresso.DownloadManager.Models;
84
85 #line default
86 #line hidden
87
88 #line 19 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
89 using Dynamicweb.Rendering;
90
91 #line default
92 #line hidden
93
94 #line 20 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
95 using EcomContext = Dynamicweb.Ecommerce.Common.Context;
96
97 #line default
98 #line hidden
99
100
101 public class RazorEngine_25672b42aa9747ed988b76942c9f87cd : Co3.Espresso.Website.TemplateBases.Paragraphs.Module {
102
103 #line hidden
104
105 #line 22 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
106
public string getCountryCodeFromArea( Area area )
{
RegionInfo regionInfo = new RegionInfo( area.CultureInfo.LCID );
return regionInfo.TwoLetterISORegionName;
}
public dynamic GetPriceInfo( string beforePrice = "", string basicPrice = "" )
{
double vat = EcomContext.Country.Vat;
double dblBeforePrice = 0;
double.TryParse( beforePrice, out dblBeforePrice );
double dblBasicPrice = 0;
double.TryParse( basicPrice, out dblBasicPrice );
double dblBeforePriceWithVat = 0;
double dblDiffPrice = 0;
int pct = 0;
if ( dblBeforePrice > 0 )
{
dblBeforePriceWithVat = dblBeforePrice * ( ( vat / 100d ) + 1 );
if ( dblBeforePriceWithVat > dblBasicPrice )
{
dblDiffPrice = dblBeforePriceWithVat - dblBasicPrice;
pct = (int)Math.Ceiling((( 100d / dblBeforePriceWithVat ) * dblDiffPrice));
}
}
dynamic returnValue = new
{
beforePriceWithVat = dblBeforePriceWithVat,
beforePriceWithVatFormatted = ProductService.Instance.GetPriceFormatted(dblBeforePriceWithVat),
basicPrice = dblBasicPrice,
basicPriceFormatted = ProductService.Instance.GetPriceFormatted(dblBasicPrice),
diffPrice = dblDiffPrice,
diffPriceFormatted = ProductService.Instance.GetPriceFormatted(dblDiffPrice),
pct = pct,
vat = vat
};
return returnValue;
}
107 #line default
108 #line hidden
109
110
111 #line 68 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
112 public RazorEngine.Templating.TemplateWriter ProductDescription(string sectionClasses = "e-section", bool sectionCollapse = false, string contentClasses = null, string heading = null, string content = null)
{
113 #line default
114 #line hidden
115 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
116
117 #line 69 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
118
if ( string.IsNullOrEmpty( content ) == false )
{
ClassList headingClassList = new ClassList();
headingClassList.AddClasses( "col-12" );
ClassList contentClassList = new ClassList();
contentClassList.AddClasses( "col-12" );
119
120 #line default
121 #line hidden
122
123 #line 77 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
124 WriteTo(__razor_helper_writer, sectionStart( sectionClasses: sectionClasses, sectionCollapse: sectionCollapse, contentClasses: contentClasses ));
125
126
127 #line default
128 #line hidden
129
130 #line 77 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
131
if ( string.IsNullOrEmpty( heading ) == false )
{
132
133 #line default
134 #line hidden
135 WriteLiteralTo(__razor_helper_writer, " <div");
136
137 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 2749), Tuple.Create("\"", 2774)
138
139 #line 81 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
140 , Tuple.Create(Tuple.Create("", 2757), Tuple.Create<System.Object, System.Int32>(headingClassList
141
142 #line default
143 #line hidden
144 , 2757), false)
145 );
146
147 WriteLiteralTo(__razor_helper_writer, ">\n <h2>");
148
149
150 #line 82 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
151 WriteTo(__razor_helper_writer, heading);
152
153
154 #line default
155 #line hidden
156 WriteLiteralTo(__razor_helper_writer, "</h2>\n </div>\n");
157
158
159 #line 84 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
160 }
161
162 #line default
163 #line hidden
164 WriteLiteralTo(__razor_helper_writer, " <div");
165
166 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 2830), Tuple.Create("\"", 2855)
167
168 #line 85 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
169 , Tuple.Create(Tuple.Create("", 2838), Tuple.Create<System.Object, System.Int32>(contentClassList
170
171 #line default
172 #line hidden
173 , 2838), false)
174 );
175
176 WriteLiteralTo(__razor_helper_writer, ">\n");
177
178 WriteLiteralTo(__razor_helper_writer, " ");
179
180
181 #line 86 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
182 WriteTo(__razor_helper_writer, content);
183
184
185 #line default
186 #line hidden
187 WriteLiteralTo(__razor_helper_writer, "\n </div>\n");
188
189
190 #line 88 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
191
192
193 #line default
194 #line hidden
195
196 #line 89 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
197 WriteTo(__razor_helper_writer, sectionEnd());
198
199
200 #line default
201 #line hidden
202
203 #line 89 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
204
}
205
206 #line default
207 #line hidden
208 });
209
210 #line 91 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
211 }
212 #line default
213 #line hidden
214
215
216 #line 94 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
217 public RazorEngine.Templating.TemplateWriter ProductVideo(string sectionClasses = "e-section", string contentClasses = null, string heading = null, string videoURL = null)
{
218 #line default
219 #line hidden
220 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
221
222 #line 95 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
223
if ( string.IsNullOrEmpty( videoURL ) == false )
{
ClassList headingClassList = new ClassList();
headingClassList.AddClasses( "col-12" );
ClassList contentClassList = new ClassList();
contentClassList.AddClasses( "col-12" );
224
225 #line default
226 #line hidden
227
228 #line 104 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
229 WriteTo(__razor_helper_writer, sectionStart( sectionClasses: sectionClasses, contentClasses: contentClasses ));
230
231
232 #line default
233 #line hidden
234
235 #line 104 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
236
if ( string.IsNullOrEmpty( heading ) == false )
{
237
238 #line default
239 #line hidden
240 WriteLiteralTo(__razor_helper_writer, " <div");
241
242 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 3448), Tuple.Create("\"", 3473)
243
244 #line 108 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
245 , Tuple.Create(Tuple.Create("", 3456), Tuple.Create<System.Object, System.Int32>(headingClassList
246
247 #line default
248 #line hidden
249 , 3456), false)
250 );
251
252 WriteLiteralTo(__razor_helper_writer, ">\n <h2>");
253
254
255 #line 109 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
256 WriteTo(__razor_helper_writer, heading);
257
258
259 #line default
260 #line hidden
261 WriteLiteralTo(__razor_helper_writer, "</h2>\n </div>\n");
262
263
264 #line 111 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
265 }
266
267 #line default
268 #line hidden
269 WriteLiteralTo(__razor_helper_writer, " <div");
270
271 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 3530), Tuple.Create("\"", 3555)
272
273 #line 113 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
274 , Tuple.Create(Tuple.Create("", 3538), Tuple.Create<System.Object, System.Int32>(contentClassList
275
276 #line default
277 #line hidden
278 , 3538), false)
279 );
280
281 WriteLiteralTo(__razor_helper_writer, ">\n <div");
282
283 WriteLiteralTo(__razor_helper_writer, " class=\"embed-responsive embed-responsive-16by9 mb-2\"");
284
285 WriteLiteralTo(__razor_helper_writer, ">\n <iframe");
286
287 WriteLiteralTo(__razor_helper_writer, " class=\"embed-responsive-item\"");
288
289 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 3668), Tuple.Create("\"", 3683)
290
291 #line 115 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
292 , Tuple.Create(Tuple.Create("", 3674), Tuple.Create<System.Object, System.Int32>(videoURL
293
294 #line default
295 #line hidden
296 , 3674), false)
297 );
298
299 WriteLiteralTo(__razor_helper_writer, " width=\"1080\"");
300
301 WriteLiteralTo(__razor_helper_writer, " height=\"608\"");
302
303 WriteLiteralTo(__razor_helper_writer, " frameborder=\"0\"");
304
305 WriteLiteralTo(__razor_helper_writer, " webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>\n </div>\n" +
306 " </div>\n");
307
308
309 #line 118 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
310
311
312 #line default
313 #line hidden
314
315 #line 118 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
316 WriteTo(__razor_helper_writer, sectionEnd());
317
318
319 #line default
320 #line hidden
321
322 #line 118 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
323
}
324
325 #line default
326 #line hidden
327 });
328
329 #line 120 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
330 }
331 #line default
332 #line hidden
333
334
335 #line 122 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
336 public RazorEngine.Templating.TemplateWriter ProductRelatedProducts(string sectionClasses = "e-section p-section p-section-bg-white pt-3 border-bottom", string contentClasses = null, string heading = null,
IEnumerable<RazorTemplateBase<RazorTemplateModel<Template>>.LoopItem> productLoop = null)
{
337 #line default
338 #line hidden
339 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
340
341 #line 124 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
342
if ( productLoop != null && productLoop.Any() == true )
{
ClassList headingClassList = new ClassList();
headingClassList.AddClasses( "col-10 mx-auto" );
ClassList contentClassList = new ClassList();
contentClassList.AddClasses( "col-10 mx-auto" );
343
344 #line default
345 #line hidden
346
347 #line 132 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
348 WriteTo(__razor_helper_writer, sectionStart( sectionClasses: sectionClasses, contentClasses: contentClasses ));
349
350
351 #line default
352 #line hidden
353
354 #line 132 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
355
if ( string.IsNullOrEmpty( heading ) == false )
{
356
357 #line default
358 #line hidden
359 WriteLiteralTo(__razor_helper_writer, " <div");
360
361 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 4528), Tuple.Create("\"", 4553)
362
363 #line 136 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
364 , Tuple.Create(Tuple.Create("", 4536), Tuple.Create<System.Object, System.Int32>(headingClassList
365
366 #line default
367 #line hidden
368 , 4536), false)
369 );
370
371 WriteLiteralTo(__razor_helper_writer, ">\n <h2>");
372
373
374 #line 137 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
375 WriteTo(__razor_helper_writer, heading);
376
377
378 #line default
379 #line hidden
380 WriteLiteralTo(__razor_helper_writer, "</h2>\n </div>\n");
381
382
383 #line 139 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
384 }
385
386 #line default
387 #line hidden
388 WriteLiteralTo(__razor_helper_writer, " <div");
389
390 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 4611), Tuple.Create("\"", 4636)
391
392 #line 142 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
393 , Tuple.Create(Tuple.Create("", 4619), Tuple.Create<System.Object, System.Int32>(contentClassList
394
395 #line default
396 #line hidden
397 , 4619), false)
398 );
399
400 WriteLiteralTo(__razor_helper_writer, ">\n <div");
401
402 WriteLiteralTo(__razor_helper_writer, " class=\"e-products mb-2\"");
403
404 WriteLiteralTo(__razor_helper_writer, ">\n <div");
405
406 WriteLiteralTo(__razor_helper_writer, " class=\"row\"");
407
408 WriteLiteralTo(__razor_helper_writer, ">\n");
409
410
411 #line 145 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
412
413
414 #line default
415 #line hidden
416
417 #line 145 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
418
string productlistItemClassList = ProductlistService.Instance.GetGridItemWidth( null ).ToResponsiveClasses();
419
420 #line default
421 #line hidden
422 WriteLiteralTo(__razor_helper_writer, "\n");
423
424
425 #line 148 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
426
427
428 #line default
429 #line hidden
430
431 #line 148 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
432 foreach ( RazorTemplateBase<RazorTemplateModel<Template>>.LoopItem product in productLoop )
{
433
434 #line default
435 #line hidden
436
437 #line 150 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
438 WriteTo(__razor_helper_writer, ProductlistItem( product, productlistItemClassList ));
439
440
441 #line default
442 #line hidden
443
444 #line 150 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
445
}
446
447 #line default
448 #line hidden
449 WriteLiteralTo(__razor_helper_writer, " </div>\n </div>\n </div>\n");
450
451
452 #line 155 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
453
454
455 #line default
456 #line hidden
457
458 #line 156 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
459 WriteTo(__razor_helper_writer, sectionEnd());
460
461
462 #line default
463 #line hidden
464
465 #line 156 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
466
}
467
468 #line default
469 #line hidden
470 });
471
472 #line 158 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
473 }
474 #line default
475 #line hidden
476
477
478 #line 160 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
479 public RazorEngine.Templating.TemplateWriter ProductlistItem(RazorTemplateBase<RazorTemplateModel<Template>>.LoopItem product, string productlistItemClassList = null)
{
480 #line default
481 #line hidden
482 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
483
484 #line 161 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
485
if ( product != null )
{
dynamic productData = new
{
id = product.GetString( "Ecom:Product.ID" ),
url = ProductService.Instance.GetProductLink( product.GetString( "Ecom:Product.PrimaryOrFirstGroupID" ), product.GetString( "Ecom:Product.ID" ) ),
number = product.GetString( "Ecom:Product.Number" ),
name = product.GetString( "Ecom:Product.Name" ),
imageLarge = ImageService.Instance.GetImageURL( product.GetString( "Ecom:Product.ImageLarge.Clean" ), 450, 350, 5 ),
price = ProductService.Instance.GetPriceFormatted( product.GetDouble( "Ecom:Product.Price.Price" ) ),
descriptionShortExtra01 = product.GetString( "Ecom:Product:Field.DescriptionShortExtra01" ),
descriptionShort = product.GetString( "Ecom:Product.ShortDescription" ),
stock = new
{
id = product.GetString( "Ecom:Product:Stock.ID" ),
quantity = product.GetString( "Ecom:Product.Stock" ),
text = product.GetString( "Ecom:Product:Stock.Text" ),
delivery = product.GetString( "Ecom:Product:Stock.DeliveryText" )
}
};
486
487 #line default
488 #line hidden
489 WriteLiteralTo(__razor_helper_writer, " <div");
490
491 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 6338), Tuple.Create("\"", 6371)
492
493 #line 183 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
494 , Tuple.Create(Tuple.Create("", 6346), Tuple.Create<System.Object, System.Int32>(productlistItemClassList
495
496 #line default
497 #line hidden
498 , 6346), false)
499 );
500
501 WriteLiteralTo(__razor_helper_writer, ">\n <div");
502
503 WriteLiteralTo(__razor_helper_writer, " class=\"e-products-item js-e-products-item\"");
504
505 WriteLiteralTo(__razor_helper_writer, ">\n <div");
506
507 WriteLiteralTo(__razor_helper_writer, " class=\"e-products-item-container\"");
508
509 WriteLiteralTo(__razor_helper_writer, ">\n <div");
510
511 WriteLiteralTo(__razor_helper_writer, " class=\"junckers-relatedproducts-item-image-container\"");
512
513 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 6545), Tuple.Create("\"", 6593)
514 , Tuple.Create(Tuple.Create("", 6553), Tuple.Create("background:", 6553), true)
515 , Tuple.Create(Tuple.Create(" ", 6564), Tuple.Create("url(", 6565), true)
516
517 #line 186 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
518 , Tuple.Create(Tuple.Create("", 6569), Tuple.Create<System.Object, System.Int32>(productData.imageLarge
519
520 #line default
521 #line hidden
522 , 6569), false)
523 , Tuple.Create(Tuple.Create("", 6592), Tuple.Create(")", 6592), true)
524 );
525
526 WriteLiteralTo(__razor_helper_writer, ">\n");
527
528
529 #line 187 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
530
531
532 #line default
533 #line hidden
534
535 #line 187 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
536 if ( string.IsNullOrEmpty( productData.descriptionShort ) == false )
{
537
538 #line default
539 #line hidden
540 WriteLiteralTo(__razor_helper_writer, "<div");
541
542 WriteLiteralTo(__razor_helper_writer, " class=\"junckers-relatedproducts-item-text-container py-1\"");
543
544 WriteLiteralTo(__razor_helper_writer, ">\n <p");
545
546 WriteLiteralTo(__razor_helper_writer, " class=\"e-products-item-text mb-0 px-2 small\"");
547
548 WriteLiteralTo(__razor_helper_writer, ">\n <strong>Package Size</strong>\n </p>\n " +
549 " <p");
550
551 WriteLiteralTo(__razor_helper_writer, " class=\"e-products-item-text mb-0 text-muted px-2 small\"");
552
553 WriteLiteralTo(__razor_helper_writer, ">\n");
554
555 WriteLiteralTo(__razor_helper_writer, " ");
556
557
558 #line 193 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
559 WriteTo(__razor_helper_writer, productData.descriptionShort);
560
561
562 #line default
563 #line hidden
564 WriteLiteralTo(__razor_helper_writer, "\n </p>\n </div>\n");
565
566
567 #line 196 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
568 }
569
570 #line default
571 #line hidden
572 WriteLiteralTo(__razor_helper_writer, " </div>\n <div");
573
574 WriteLiteralTo(__razor_helper_writer, " class=\"e-products-item-text-container text-center\"");
575
576 WriteLiteralTo(__razor_helper_writer, ">\n <h3");
577
578 WriteLiteralTo(__razor_helper_writer, " class=\"e-products-item-name mb-0\"");
579
580 WriteLiteralTo(__razor_helper_writer, ">\n");
581
582 WriteLiteralTo(__razor_helper_writer, " ");
583
584
585 #line 200 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
586 WriteTo(__razor_helper_writer, productData.name);
587
588
589 #line default
590 #line hidden
591 WriteLiteralTo(__razor_helper_writer, "\n </h3>\n ");
592
593 WriteLiteralTo(__razor_helper_writer, "\n ");
594
595 WriteLiteralTo(__razor_helper_writer, "\n ");
596
597 WriteLiteralTo(__razor_helper_writer, "\n ");
598
599 WriteLiteralTo(__razor_helper_writer, "\n ");
600
601 WriteLiteralTo(__razor_helper_writer, "\n ");
602
603 WriteLiteralTo(__razor_helper_writer, "\n ");
604
605 WriteLiteralTo(__razor_helper_writer, "\n </div>\n </div>\n </div>\n </div>\n");
606
607
608 #line 213 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
609 }
610
611 #line default
612 #line hidden
613 });
614
615 #line 214 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
616 }
617 #line default
618 #line hidden
619
620
621 #line 217 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
622 public RazorEngine.Templating.TemplateWriter sectionStart(string sectionClasses = "e-section", string contentClasses = null, bool sectionCollapse = false, string collapseToggleTextExpand = "Se mere", string collapseToggleTextCollapse = "Se mindre")
{
623 #line default
624 #line hidden
625 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
626
627 #line 218 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
628
ClassList sectionClassList = new ClassList();
sectionClassList.AddClasses( sectionClasses );
ClassList contentClassList;
string collapseId = Guid.NewGuid().ToString( "N" );
ClassList collapseToggleClassList = new ClassList();
if ( contentClasses == null )
{
contentClassList = Co3.Espresso.Website.Services.PageService.Instance.GetResponsiveClassesFromPageItem( PageView.Current().Page.Item );
}
else
{
contentClassList = new ClassList();
contentClassList.AddClasses( contentClasses );
}
if ( sectionCollapse == true )
{
sectionClassList.AddClasses( "p-section-collapse js-p-section-collapse" );
collapseToggleClassList.AddClasses( contentClasses );
collapseToggleClassList.AddClasses( "p-section-collapse-toggle collapsed order-last text-center" );
contentClassList.AddClasses( "p-section-collapse-content collapse is-md" );
}
629
630 #line default
631 #line hidden
632 WriteLiteralTo(__razor_helper_writer, " ");
633
634 WriteLiteralTo(__razor_helper_writer, "<section class=\"");
635
636
637 #line 240 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
638 WriteTo(__razor_helper_writer, sectionClassList);
639
640
641 #line default
642 #line hidden
643 WriteLiteralTo(__razor_helper_writer, "\">\n");
644
645 WriteLiteralTo(__razor_helper_writer, " ");
646
647 WriteLiteralTo(__razor_helper_writer, "<div class=\"container-fluid\">\n");
648
649 WriteLiteralTo(__razor_helper_writer, " ");
650
651 WriteLiteralTo(__razor_helper_writer, "<div class=\"row\">\n");
652
653
654 #line 243 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
655
if ( sectionCollapse == true )
// TODO: SplitPattern into seperate heler function
{
656
657 #line default
658 #line hidden
659 WriteLiteralTo(__razor_helper_writer, " <div");
660
661 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 8910), Tuple.Create("\"", 8942)
662
663 #line 247 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
664 , Tuple.Create(Tuple.Create("", 8918), Tuple.Create<System.Object, System.Int32>(collapseToggleClassList
665
666 #line default
667 #line hidden
668 , 8918), false)
669 );
670
671 WriteLiteralTo(__razor_helper_writer, " data-toggle=\"collapse\"");
672
673 WriteLiteralTo(__razor_helper_writer, " data-target=\"#");
674
675
676 #line 247 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
677 WriteTo(__razor_helper_writer, collapseId);
678
679
680 #line default
681 #line hidden
682 WriteLiteralTo(__razor_helper_writer, "\"");
683
684 WriteLiteralTo(__razor_helper_writer, ">\n <button");
685
686 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn-primary p-section-collapse-toggle-btn\"");
687
688 WriteLiteralTo(__razor_helper_writer, " type=\"button\"");
689
690 WriteLiteralTo(__razor_helper_writer, ">\n <i");
691
692 WriteLiteralTo(__razor_helper_writer, " class=\"material-icons p-section-collapse-toggle-icon\"");
693
694 WriteLiteralTo(__razor_helper_writer, ">keyboard_arrow_down</i>\n </button>\n <small");
695
696 WriteLiteralTo(__razor_helper_writer, " class=\"p-section-collapse-toggle-text h4\"");
697
698 WriteLiteralTo(__razor_helper_writer, " data-expand-text=\"");
699
700
701 #line 251 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
702 WriteTo(__razor_helper_writer, collapseToggleTextExpand);
703
704
705 #line default
706 #line hidden
707 WriteLiteralTo(__razor_helper_writer, "\"");
708
709 WriteLiteralTo(__razor_helper_writer, " data-collapse-text=\"");
710
711
712 #line 251 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
713 WriteTo(__razor_helper_writer, collapseToggleTextCollapse);
714
715
716 #line default
717 #line hidden
718 WriteLiteralTo(__razor_helper_writer, "\"");
719
720 WriteLiteralTo(__razor_helper_writer, "></small>\n </div>\n");
721
722
723 #line 253 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
724 }
725
726 #line default
727 #line hidden
728 WriteLiteralTo(__razor_helper_writer, " ");
729
730 WriteLiteralTo(__razor_helper_writer, "<div class=\"");
731
732
733 #line 255 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
734 WriteTo(__razor_helper_writer, contentClassList);
735
736
737 #line default
738 #line hidden
739 WriteLiteralTo(__razor_helper_writer, "\" id=\"");
740
741
742 #line 255 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
743 WriteTo(__razor_helper_writer, collapseId);
744
745
746 #line default
747 #line hidden
748 WriteLiteralTo(__razor_helper_writer, "\">\n");
749
750 WriteLiteralTo(__razor_helper_writer, " ");
751
752 WriteLiteralTo(__razor_helper_writer, "<div class=\"row\">\n");
753
754
755 #line 257 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
756
757
758 #line default
759 #line hidden
760 });
761
762 #line 257 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
763 }
764 #line default
765 #line hidden
766
767
768 #line 259 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
769 public RazorEngine.Templating.TemplateWriter sectionEnd()
{
770 #line default
771 #line hidden
772 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
773
774 #line 260 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
775
776
777 #line default
778 #line hidden
779 WriteLiteralTo(__razor_helper_writer, " ");
780
781 WriteLiteralTo(__razor_helper_writer, "</div>\n");
782
783 WriteLiteralTo(__razor_helper_writer, " ");
784
785 WriteLiteralTo(__razor_helper_writer, "</div>\n");
786
787 WriteLiteralTo(__razor_helper_writer, " ");
788
789 WriteLiteralTo(__razor_helper_writer, "</div>\n");
790
791 WriteLiteralTo(__razor_helper_writer, " ");
792
793 WriteLiteralTo(__razor_helper_writer, "</div>\n");
794
795 WriteLiteralTo(__razor_helper_writer, " ");
796
797 WriteLiteralTo(__razor_helper_writer, "</section>\n");
798
799
800 #line 266 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
801
802
803 #line default
804 #line hidden
805 });
806
807 #line 266 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
808 }
809 #line default
810 #line hidden
811
812
813 public RazorEngine_25672b42aa9747ed988b76942c9f87cd() {
814 }
815
816 public override void Execute() {
817 WriteLiteral("\n");
818
819 WriteLiteral("\n\n");
820
821 WriteLiteral("\n\n");
822
823 WriteLiteral("\n");
824
825 WriteLiteral("\n");
826
827 WriteLiteral("\n\n");
828
829 WriteLiteral("\n");
830
831 WriteLiteral("\r\n\r\n\n\n");
832
833
834 #line 271 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
835
ClassList productlistMainClassList = new ClassList();
productlistMainClassList.AddClasses( "col-12" );
if ( Espresso.Item.FiltersShow == "True" )
{
productlistMainClassList.AddClasses( "col-lg-9 col-xl-9" );
}
ClassList productlistAsideClassList = new ClassList();
productlistAsideClassList.AddClasses( "col-12 col-lg-3 col-xl-3 order-lg-first" );
ClassList productlistItemClassList = new ClassList();
Dictionary< string, decimal > paragraphEcommerceGridItemWidth = ProductlistService.Instance.GetGridItemWidth( PageView.Current().CurrentParagraph.Item.GetValue< string >( "ItemWidth" ) );
productlistItemClassList.AddClasses( paragraphEcommerceGridItemWidth.ToResponsiveClasses() );
836
837 #line default
838 #line hidden
839 WriteLiteral("\n\n");
840
841
842 #line 286 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
843 Write(sectionEnd());
844
845
846 #line default
847 #line hidden
848 WriteLiteral("\n");
849
850
851 #line 287 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
852 Write(sectionStart( "p-section-bg-light is-sticky js-e-section e-section py-3 mb-3" ));
853
854
855 #line default
856 #line hidden
857 WriteLiteral("\n\n<div");
858
859 WriteLiteral(" class=\"col-6 col-lg-4 order-1 align-self-center\"");
860
861 WriteLiteral(">\n <h4>");
862
863
864 #line 290 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
865 Write(Translate( "DownloadManager - Heading", "Downloads" ));
866
867
868 #line default
869 #line hidden
870 WriteLiteral("</h4>\n <h1");
871
872 WriteLiteral(" class=\"m-0\"");
873
874 WriteLiteral(">");
875
876
877 #line 291 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
878 Write(GetGlobalValue( "Global:Page.Name" ));
879
880
881 #line default
882 #line hidden
883 WriteLiteral("</h1>\n</div>\n\n");
884
885 WriteLiteral("\n");
886
887 WriteLiteral("\n");
888
889 WriteLiteral("\n");
890
891 WriteLiteral("\n");
892
893 WriteLiteral("\n");
894
895 WriteLiteral("\n");
896
897 WriteLiteral("\n");
898
899 WriteLiteral("\n");
900
901 WriteLiteral("\n");
902
903 WriteLiteral("\n");
904
905 WriteLiteral("\n");
906
907 WriteLiteral("\n");
908
909 WriteLiteral("\n");
910
911 WriteLiteral("\n");
912
913 WriteLiteral("\n");
914
915 WriteLiteral("\n");
916
917 WriteLiteral("\n<div");
918
919 WriteLiteral(" class=\"col-12 col-lg-8 order-2 order-lg-3 text-lg-right align-self-center mt-2 m" +
920 "t-lg-0\"");
921
922 WriteLiteral(">\n <button");
923
924 WriteLiteral(" class=\"btn js-e-download-addall btn-lg mr-1\"");
925
926 WriteLiteral(" type=\"button\"");
927
928 WriteLiteral(">\n <i");
929
930 WriteLiteral(" class=\"material-icons material-icons-large text-success\"");
931
932 WriteLiteral(">add</i>\n");
933
934 WriteLiteral(" ");
935
936
937 #line 314 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
938 Write(Translate( "eCom Download - Add All To Cart - Button", "Add all to downloads" ));
939
940
941 #line default
942 #line hidden
943 WriteLiteral("\n </button>\n <a");
944
945 WriteLiteral(" class=\"btn btn-lg btn-success\"");
946
947 WriteLiteral(" href=\"/shop/download/checkout\"");
948
949 WriteLiteral(">\n <i");
950
951 WriteLiteral(" class=\"material-icons material-icons-2x\"");
952
953 WriteLiteral(">file_download</i>\n <span");
954
955 WriteLiteral(" class=\"js-e-download-cart-quantity\"");
956
957 WriteLiteral("></span>\n");
958
959 WriteLiteral(" ");
960
961
962 #line 319 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
963 Write(Translate( "DownloadManager - Productlist - Goto Cart - Button", "Products" ));
964
965
966 #line default
967 #line hidden
968 WriteLiteral("\n </a>\n</div>\n");
969
970
971 #line 322 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
972 Write(sectionEnd());
973
974
975 #line default
976 #line hidden
977 WriteLiteral("\n");
978
979
980 #line 323 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
981 Write(sectionStart());
982
983
984 #line default
985 #line hidden
986 WriteLiteral("\n<div");
987
988 WriteLiteral(" class=\"col-12\"");
989
990 WriteLiteral(">\n <div");
991
992 WriteLiteral(" class=\"js-e-loading-wait js-e-productlist js-e-productlist-download\"");
993
994 WriteLiteral(">\n\n <div");
995
996 WriteLiteral(" class=\"row\"");
997
998 WriteLiteral(">\n <div");
999
1000 WriteLiteral(" class=\"col-12\"");
1001
1002 WriteLiteral(">\n <div");
1003
1004 WriteLiteral(" class=\"js-e-productslist-header small\"");
1005
1006 WriteLiteral(">\n <div");
1007
1008 WriteLiteral(" class=\"align-items-end row\"");
1009
1010 WriteLiteral(">\n\n");
1011
1012
1013 #line 332 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1014
1015
1016 #line default
1017 #line hidden
1018
1019 #line 332 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1020 if ( Espresso.Item.FiltersShow == "True" )
{
1021
1022 #line default
1023 #line hidden
1024 WriteLiteral(" <div");
1025
1026 WriteAttribute("class", Tuple.Create(" class=\"", 12470), Tuple.Create("\"", 12522)
1027
1028 #line 334 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1029 , Tuple.Create(Tuple.Create("", 12478), Tuple.Create<System.Object, System.Int32>(productlistAsideClassList
1030
1031 #line default
1032 #line hidden
1033 , 12478), false)
1034 , Tuple.Create(Tuple.Create(" ", 12504), Tuple.Create("d-lg-block", 12505), true)
1035 , Tuple.Create(Tuple.Create(" ", 12515), Tuple.Create("d-none", 12516), true)
1036 );
1037
1038 WriteLiteral(">\n <div");
1039
1040 WriteLiteral(" class=\"border-bottom e-productslist-header\"");
1041
1042 WriteLiteral(">\n <p");
1043
1044 WriteLiteral(" class=\"h3 m-0\"");
1045
1046 WriteLiteral(">\n <i");
1047
1048 WriteLiteral(" class=\"material-icons material-icons-large\"");
1049
1050 WriteLiteral(">tune</i>\n");
1051
1052 WriteLiteral(" ");
1053
1054
1055 #line 338 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1056 Write(Translate( "eCom Productlist Filters - Customize Selection - Heading", "Filter products" ));
1057
1058
1059 #line default
1060 #line hidden
1061 WriteLiteral("\n <span");
1062
1063 WriteLiteral(" class=\"e-productlist-product-count font-weight-normal js-e-productlist-product-c" +
1064 "ount pl-1 text-muted\"");
1065
1066 WriteLiteral("></span>\n </p>\n </div>\n </div>\n");
1067
1068
1069 #line 343 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1070 }
1071
1072 #line default
1073 #line hidden
1074 WriteLiteral("\n");
1075
1076
1077 #line 345 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1078
1079
1080 #line default
1081 #line hidden
1082
1083 #line 345 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1084 if ( Espresso.Item.SortShow == "True" || Espresso.Item.PagingShow == "True" || Espresso.Item.FiltersShow == "True" )
{
1085
1086 #line default
1087 #line hidden
1088 WriteLiteral(" <div");
1089
1090 WriteAttribute("class", Tuple.Create(" class=\"", 13100), Tuple.Create("\"", 13133)
1091
1092 #line 347 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1093 , Tuple.Create(Tuple.Create("", 13108), Tuple.Create<System.Object, System.Int32>(productlistMainClassList
1094
1095 #line default
1096 #line hidden
1097 , 13108), false)
1098 );
1099
1100 WriteLiteral(">\n <div");
1101
1102 WriteLiteral(" class=\"align-items-end border-bottom d-lg-flex d-none e-productslist-header alig" +
1103 "n-content-between flex-wrap\"");
1104
1105 WriteLiteral(">\n");
1106
1107
1108 #line 349 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1109
1110
1111 #line default
1112 #line hidden
1113
1114 #line 349 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1115 if ( Espresso.Item.SortShow == "True" )
{
1116
1117 #line default
1118 #line hidden
1119 WriteLiteral(" <div");
1120
1121 WriteLiteral(" class=\"align-items-center d-flex js-e-productlist-sort\"");
1122
1123 WriteLiteral(">\r\n <script");
1124
1125 WriteLiteral(" id=\"js-e-handlebars-tmpl-productlist-sort\"");
1126
1127 WriteLiteral(" type=\"text/x-handlebars-template\"");
1128
1129 WriteLiteral(">\r\n <fieldset class=\"form-inline\">\r\n <div class=\"\">\r\n <label for=\"" +
1130 "Sort\" class=\"mr-1 d-none\">\r\n");
1131
1132 WriteLiteral(" ");
1133
1134
1135 #line 356 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1136 Write(Translate( "eCom Productlist - Sorting - Label", "Sort: " ));
1137
1138
1139 #line default
1140 #line hidden
1141 WriteLiteral("\r\n </label>\r\n <select name=\"Sort\" class=\"js-e-productlist-sort-sele" +
1142 "ct custom-select\" style=\"padding-bottom:0.25em;\">\r\n <option value=\"Sort" +
1143 "Name DESC\" {{#compare sort.sort \'===\' \'SortName DESC\'}}selected{{/compare}}>");
1144
1145
1146 #line 359 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1147 Write(Translate( "eCom Productlist - Sorting - Name - DESC - Label", "Name" ));
1148
1149
1150 #line default
1151 #line hidden
1152 WriteLiteral("</option>\r\n <option value=\"Created ASC\" {{#compare sort.sort \'===\' \'Crea" +
1153 "ted ASC\'}}selected{{/compare}}>");
1154
1155
1156 #line 360 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1157 Write(Translate( "eCom Productlist - Sorting - Created - ASC - Label", "Created" ));
1158
1159
1160 #line default
1161 #line hidden
1162 WriteLiteral("</option>\r\n <!--<option value=\"SortPrice ASC\" {{#compare sort.sort \'===\'" +
1163 " \'SortPrice ASC\'}}selected{{/compare}}>");
1164
1165
1166 #line 361 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1167 Write(Translate( "eCom Productlist - Sorting - Price - ASC - Label", "Price - low to high" ));
1168
1169
1170 #line default
1171 #line hidden
1172 WriteLiteral("</option>\r\n <option value=\"SortPrice DESC\" {{#compare sort.sort \'===\' \'S" +
1173 "ortPrice DESC\'}}selected{{/compare}}>");
1174
1175
1176 #line 362 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1177 Write(Translate( "eCom Productlist - Sorting - Price - DESC - Label", "Price - high to low" ));
1178
1179
1180 #line default
1181 #line hidden
1182 WriteLiteral("</option>-->\r\n </select>\r\n </div>\r\n </fieldset>\r\n </script>\r\n</di" +
1183 "v>\r\n");
1184
1185
1186 #line 368 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1187
}
1188
1189 #line default
1190 #line hidden
1191 WriteLiteral(" </div>\n <div");
1192
1193 WriteLiteral(" class=\"align-items-stretch d-flex d-lg-none e-productslist-header flex-wrap just" +
1194 "ify-content-strech\"");
1195
1196 WriteLiteral(">\n <div");
1197
1198 WriteLiteral(" class=\"align-items-center bg-info d-flex justify-content-between p-1 w-100\"");
1199
1200 WriteLiteral(">\n");
1201
1202
1203 #line 373 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1204
1205
1206 #line default
1207 #line hidden
1208
1209 #line 373 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1210 if ( Espresso.Item.SortShow == "True" )
{
1211
1212 #line default
1213 #line hidden
1214 WriteLiteral(" <div");
1215
1216 WriteLiteral(" class=\"align-items-center d-flex js-e-productlist-sort\"");
1217
1218 WriteLiteral(">\r\n <script");
1219
1220 WriteLiteral(" id=\"js-e-handlebars-tmpl-productlist-sort\"");
1221
1222 WriteLiteral(" type=\"text/x-handlebars-template\"");
1223
1224 WriteLiteral(">\r\n <fieldset class=\"form-inline\">\r\n <div class=\"\">\r\n <label for=\"" +
1225 "Sort\" class=\"mr-1 d-none\">\r\n");
1226
1227 WriteLiteral(" ");
1228
1229
1230 #line 380 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1231 Write(Translate( "eCom Productlist - Sorting - Label", "Sort: " ));
1232
1233
1234 #line default
1235 #line hidden
1236 WriteLiteral("\r\n </label>\r\n <select name=\"Sort\" class=\"js-e-productlist-sort-sele" +
1237 "ct custom-select\" style=\"padding-bottom:0.25em;\">\r\n <option value=\"Sort" +
1238 "Name DESC\" {{#compare sort.sort \'===\' \'SortName DESC\'}}selected{{/compare}}>");
1239
1240
1241 #line 383 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1242 Write(Translate( "eCom Productlist - Sorting - Name - DESC - Label", "Name" ));
1243
1244
1245 #line default
1246 #line hidden
1247 WriteLiteral("</option>\r\n <option value=\"Created ASC\" {{#compare sort.sort \'===\' \'Crea" +
1248 "ted ASC\'}}selected{{/compare}}>");
1249
1250
1251 #line 384 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1252 Write(Translate( "eCom Productlist - Sorting - Created - ASC - Label", "Created" ));
1253
1254
1255 #line default
1256 #line hidden
1257 WriteLiteral("</option>\r\n <!--<option value=\"SortPrice ASC\" {{#compare sort.sort \'===\'" +
1258 " \'SortPrice ASC\'}}selected{{/compare}}>");
1259
1260
1261 #line 385 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1262 Write(Translate( "eCom Productlist - Sorting - Price - ASC - Label", "Price - low to high" ));
1263
1264
1265 #line default
1266 #line hidden
1267 WriteLiteral("</option>\r\n <option value=\"SortPrice DESC\" {{#compare sort.sort \'===\' \'S" +
1268 "ortPrice DESC\'}}selected{{/compare}}>");
1269
1270
1271 #line 386 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1272 Write(Translate( "eCom Productlist - Sorting - Price - DESC - Label", "Price - high to low" ));
1273
1274
1275 #line default
1276 #line hidden
1277 WriteLiteral("</option>-->\r\n </select>\r\n </div>\r\n </fieldset>\r\n </script>\r\n</di" +
1278 "v>\r\n");
1279
1280
1281 #line 392 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1282
}
1283
1284 #line default
1285 #line hidden
1286 WriteLiteral(" ");
1287
1288
1289 #line 394 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1290 if ( Espresso.Item.FiltersShow == "True" )
{
1291
1292 #line default
1293 #line hidden
1294 WriteLiteral(" <button");
1295
1296 WriteLiteral(" class=\"btn btn-primary js-e-productlist-filters-modal-toggle\"");
1297
1298 WriteLiteral(" data-target=\"#js-e-productlist-filters-modal\"");
1299
1300 WriteLiteral(" data-toggle=\"modal\"");
1301
1302 WriteLiteral(" type=\"button\"");
1303
1304 WriteLiteral(">\n <i");
1305
1306 WriteLiteral(" class=\"material-icons material-icons-large\"");
1307
1308 WriteLiteral(">tune</i>\n");
1309
1310 WriteLiteral(" ");
1311
1312
1313 #line 398 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1314 Write(Translate( "eCom Productlist Filters - Customize Selection - Button", "Filters" ));
1315
1316
1317 #line default
1318 #line hidden
1319 WriteLiteral("\n <span");
1320
1321 WriteLiteral(" class=\"ml-2 badge badge-primary js-e-productlist-filters-applied-count\"");
1322
1323 WriteLiteral("></span>\n </button>\n");
1324
1325
1326 #line 401 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1327 }
1328
1329 #line default
1330 #line hidden
1331 WriteLiteral(" </div>\n <div");
1332
1333 WriteLiteral(" class=\"py-1 flex-grow-1 text-center\"");
1334
1335 WriteLiteral(">\n <button");
1336
1337 WriteLiteral(" class=\"btn btn-tertiary js-e-download-addall\"");
1338
1339 WriteLiteral(" type=\"button\"");
1340
1341 WriteLiteral(">\n <i");
1342
1343 WriteLiteral(" class=\"material-icons material-icons-large text-success\"");
1344
1345 WriteLiteral(">add</i>\n");
1346
1347 WriteLiteral(" ");
1348
1349
1350 #line 406 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1351 Write(Translate( "eCom Download - Add All To Cart - Button", "Add all to downloads" ));
1352
1353
1354 #line default
1355 #line hidden
1356 WriteLiteral("\n </button>\n </div>\n </div>\n </div>\n");
1357
1358
1359 #line 411 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1360 }
1361
1362 #line default
1363 #line hidden
1364 WriteLiteral("\n </div>\n</div>\n\n </div>\n </div>\n <div");
1365
1366 WriteLiteral(" class=\"row\"");
1367
1368 WriteLiteral(">\n <div");
1369
1370 WriteLiteral(" class=\"col-12\"");
1371
1372 WriteLiteral(">\n\n <div");
1373
1374 WriteLiteral(" class=\"e-productlist-body\"");
1375
1376 WriteLiteral(">\n <div");
1377
1378 WriteLiteral(" class=\"row\"");
1379
1380 WriteLiteral(">\n <div");
1381
1382 WriteAttribute("class", Tuple.Create(" class=\"", 17436), Tuple.Create("\"", 17469)
1383
1384 #line 423 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1385 , Tuple.Create(Tuple.Create("", 17444), Tuple.Create<System.Object, System.Int32>(productlistMainClassList
1386
1387 #line default
1388 #line hidden
1389 , 17444), false)
1390 );
1391
1392 WriteLiteral(">\n <div");
1393
1394 WriteLiteral(" id=\"js-e-productlist-products\"");
1395
1396 WriteLiteral(">\n");
1397
1398
1399 #line 425 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1400
1401
1402 #line default
1403 #line hidden
1404 WriteLiteral("<ul hidden itemscope");
1405
1406 WriteLiteral(" itemtype=\"http://schema.org/ItemList\"");
1407
1408 WriteLiteral(">\r\n");
1409
1410
1411 #line 427 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1412
1413
1414 #line default
1415 #line hidden
1416
1417 #line 427 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1418 foreach ( LoopItem product in GetLoop("Products") ) {
1419
1420
1421 #line default
1422 #line hidden
1423 WriteLiteral(" <li");
1424
1425 WriteLiteral(" itemprop=\"itemListElement\"");
1426
1427 WriteLiteral(" itemscope");
1428
1429 WriteLiteral(" itemtype=\"http://schema.org/Product\"");
1430
1431 WriteLiteral(">\r\n <a");
1432
1433 WriteAttribute("href", Tuple.Create(" href=\"", 17786), Tuple.Create("\"", 17929)
1434
1435 #line 429 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1436 , Tuple.Create(Tuple.Create("", 17793), Tuple.Create<System.Object, System.Int32>(ProductService.Instance.GetProductLink( product.GetString("Ecom:Product.PrimaryOrFirstGroupID"), product.GetString("Ecom:Product.ID") )
1437
1438 #line default
1439 #line hidden
1440 , 17793), false)
1441 );
1442
1443 WriteAttribute("title", Tuple.Create(" title=\"", 17930), Tuple.Create("\"", 17977)
1444
1445 #line 429 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1446 , Tuple.Create(Tuple.Create("", 17938), Tuple.Create<System.Object, System.Int32>(product.GetString("Ecom:Product.Name")
1447
1448 #line default
1449 #line hidden
1450 , 17938), false)
1451 );
1452
1453 WriteLiteral(" itemprop=\"url\"");
1454
1455 WriteLiteral(">\r\n <h3");
1456
1457 WriteLiteral(" itemprop=\"name\"");
1458
1459 WriteLiteral(">");
1460
1461
1462 #line 430 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1463 Write(product.GetString("Ecom:Product.Name"));
1464
1465
1466 #line default
1467 #line hidden
1468 WriteLiteral("</h3>\r\n <p");
1469
1470 WriteLiteral(" itemprop=\"description\"");
1471
1472 WriteLiteral(">");
1473
1474
1475 #line 431 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1476 Write(product.GetString("Ecom:Product.ShortDescription"));
1477
1478
1479 #line default
1480 #line hidden
1481 WriteLiteral("</p>\r\n </a>\r\n </li>\r\n");
1482
1483
1484 #line 434 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1485 }
1486
1487
1488 #line default
1489 #line hidden
1490 WriteLiteral("</ul>\r\n\n <script");
1491
1492 WriteLiteral(" id=\"js-e-handlebars-tmpl-productlist-products\"");
1493
1494 WriteLiteral(" type=\"text/x-handlebars-template\"");
1495
1496 WriteLiteral(@">
<div class=""e-products e-products-download mt-2"">
<div class=""e-loading-overlay e-products-loading-overlay js-e-products-loading-overlay is-loading"">
<div class=""e-loading-spinner""></div>
</div>
{{#if page.productCount}}
<div class=""row"">
{{#each products}}
<div class=""");
1497
1498
1499 #line 445 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1500 Write(productlistItemClassList);
1501
1502
1503 #line default
1504 #line hidden
1505 WriteLiteral(@""">
<div class=""border-bottom e-block-link e-products-item js-e-block-link js-e-products-item js-e-products-item-{{id}} pb-0"" style=""cursor: auto;"">
<div class=""e-products-item-container"">
<div class=""e-products-item-image-container"">
<img alt="""" class=""e-products-item-image"" src=""{{imageMedium}}"">
</div>
<div class=""e-products-item-text-container small"">
<div class=""px-1 mb-2"">
<h3 class=""e-products-item-name mb-0"">{{name}}</h3>
{{#if floorCategoryName}}
<p>{{{floorCategoryName}}}</p>
{{/if}}
");
1506
1507 WriteLiteral(@"
</div>
<form action=""/system/data/cart-download"" class=""e-product-form e-product-form-addtocart js-e-product-form js-e-product-form-addtocart js-e-product-form-download mb-1 small px-1"" method=""post"">
<input name=""CartCmd"" type=""hidden"" value=""Add"">
<input name=""OrderContext"" type=""hidden"" value=""Download"">
<input name=""ProductID"" type=""hidden"" value=""{{id}}"">
<input name=""VariantID"" type=""hidden"" value="""">
<input name=""Redirect"" type=""hidden"" value="""">
<input name=""Quantity"" type=""hidden"" value=""1"">
<button class=""btn btn-tertiary btn-block"" type=""submit"">
<i class=""material-icons material-icons-large text-success"">add</i>
");
1508
1509 WriteLiteral(" ");
1510
1511
1512 #line 468 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1513 Write(Translate( "eCom Download - Add To Cart - Button", "Add to downloads" ));
1514
1515
1516 #line default
1517 #line hidden
1518 WriteLiteral(@"
</button>
</form>
<form action=""/system/data/cart-download"" class=""e-product-form e-product-form-removefromcart js-e-product-form js-e-product-form-removefromcart js-e-product-form-download mb-1 small px-1"" method=""post"">
<input name=""CartCmd"" type=""hidden"" value=""delorderline"">
<input name=""OrderContext"" type=""hidden"" value=""Download"">
<input name=""key"" type=""hidden"" value="""">
<input name=""ProductID"" type=""hidden"" value=""{{id}}"">
<input name=""Redirect"" type=""hidden"" value="""">
<button class=""btn btn-tertiary btn-block"" type=""submit"">
<i class=""material-icons material-icons-large text-danger"">remove</i>
");
1519
1520 WriteLiteral(" ");
1521
1522
1523 #line 479 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1524 Write(Translate( "eCom Download - Remove from Cart - Button", "Remove from downloads" ));
1525
1526
1527 #line default
1528 #line hidden
1529 WriteLiteral(@"
</button>
</form>
</div>
</div>
</div>
</div>
{{/each}}
</div>
{{else}}
<div class=""alert alert-warning mt-2"" role=""alert"">
<strong><i class=""material-icons material-icons-2x"">sentiment_dissatisfied</i> ");
1530
1531
1532 #line 492 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1533 Write(Translate( "eCom Productlist - Sorry - Text", "Sorry.."));
1534
1535
1536 #line default
1537 #line hidden
1538 WriteLiteral("</strong>\n <br> ");
1539
1540
1541 #line 493 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1542 Write(Translate( "eCom Productlist - No Products - Text", "No products match your choices."));
1543
1544
1545 #line default
1546 #line hidden
1547 WriteLiteral("\n </div>\n {{/if}}\n </div>\n</script>\n \n </div>\n");
1548
1549
1550 #line 500 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1551
1552
1553 #line default
1554 #line hidden
1555
1556 #line 500 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1557 if ( Espresso.Item.FooterShow == "True" )
1558 {
1559
1560
1561 #line default
1562 #line hidden
1563 WriteLiteral(" <div");
1564
1565 WriteLiteral(" class=\"align-items-end d-flex justify-content-between pt-1 small\"");
1566
1567 WriteLiteral(">\r\n <div");
1568
1569 WriteLiteral(" class=\"align-items-center d-flex e-products-price-info\"");
1570
1571 WriteLiteral(">\r\n <span>");
1572
1573
1574 #line 504 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1575 Write(Translate( "eCom Productlist - Price Info - Text Public", "All prices are incl. VAT" ));
1576
1577
1578 #line default
1579 #line hidden
1580 WriteLiteral("</span>\r\n</div>\r\n\r\n");
1581
1582
1583 #line 507 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1584
1585
1586 #line default
1587 #line hidden
1588
1589 #line 507 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1590 if ( Espresso.Item.PagingShow == "True" )
1591 {
1592
1593
1594 #line default
1595 #line hidden
1596 WriteLiteral(" <div");
1597
1598 WriteLiteral(" class=\"align-items-center d-flex e-productlist-paging js-e-productlist-paging ju" +
1599 "stify-content-between ml-auto\"");
1600
1601 WriteLiteral(">\r\n <script");
1602
1603 WriteLiteral(" id=\"js-e-handlebars-tmpl-productlist-paging\"");
1604
1605 WriteLiteral(" type=\"text/x-handlebars-template\"");
1606
1607 WriteLiteral(">\r\n {{#if page.productCount}}\r\n <span class=\"text-nowrap {{#compa" +
1608 "re page.totalPages \'>\' 1 }}mr-4{{/compare}}\">\r\n <strong>{{page.vi" +
1609 "ewing.from}} - {{page.viewing.to}}</strong> ");
1610
1611
1612 #line 513 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1613 Write(Translate( "eCom Productlist Paging - Product Count Of - Text", "of" ));
1614
1615
1616 #line default
1617 #line hidden
1618 WriteLiteral(@"
1619 <span> {{page.productCount}}</span>
1620 </span>
1621
1622
1623 <span class="""">
1624 {{#compare page.prevPage '!==' 0 }}
1625 <a href=""{{page.pagingUrl}}={{page.prevPage}}"" class=""text-auto text-uppercase text-nowrap text-decoration-none p-0 pl-1 mr-1 js-e-productlist-set-pagenum"" data-page-num=""{{page.prevPage}}"">
1626 <i class=""material-icons"">arrow_back</i>
1627 <span class="""">");
1628
1629
1630 #line 522 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1631 Write(Translate( "eCom Productlist Paging - Previous - Text", "Previous" ));
1632
1633
1634 #line default
1635 #line hidden
1636 WriteLiteral(@"</span>
1637 </a>
1638 {{/compare}}
1639
1640 {{#compare page.nextPage '!==' 0 }}
1641 <a href=""{{page.pagingUrl}}={{page.nextPage}}"" class=""text-auto text-uppercase text-nowrap text-decoration-none p-0 pr-1 ml-1 js-e-productlist-set-pagenum"" data-page-num=""{{page.nextPage}}"">
1642 <span class="""">");
1643
1644
1645 #line 528 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1646 Write(Translate( "eCom Productlist Paging - Next - Text", "Next" ));
1647
1648
1649 #line default
1650 #line hidden
1651 WriteLiteral(@"</span>
1652 <i class=""material-icons"">arrow_forward</i></a>
1653 {{/compare}}
1654
1655 {{#compare page.pageSize '!==' 999}}
1656 {{#compare page.totalPages '>' 1 }}
1657 <a href=""{{page.pagingUrl}}=9999"" class=""text-auto text-uppercase text-nowrap text-decoration-none p-0 pl-1 js-e-productlist-set-pagesize"" data-page-size=""999"">
1658 ");
1659
1660 WriteLiteral(" ");
1661
1662
1663 #line 535 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1664 Write(Translate( "eCom Productlist Paging - Show All - Text", "Show all" ));
1665
1666
1667 #line default
1668 #line hidden
1669 WriteLiteral(@"
1670 </a>
1671 {{/compare}}
1672 {{/compare}}
1673
1674 {{#compare page.pageSize '===' 999}}
1675 <a href=""#"" class=""text-auto text-uppercase text-nowrap text-decoration-none p-0 pl-1 js-e-productlist-set-pagesize d-none"" data-page-size=""");
1676
1677
1678 #line 541 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1679 Write(Espresso.Item.Pagesize);
1680
1681
1682 #line default
1683 #line hidden
1684 WriteLiteral("\">\r\n");
1685
1686 WriteLiteral(" ");
1687
1688
1689 #line 542 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1690 Write(Translate( "eCom Productlist Paging - Reset - Link", "Reset" ));
1691
1692
1693 #line default
1694 #line hidden
1695 WriteLiteral("\r\n </a>\r\n {{/compare}}\r\n\r\n <span>\r\n {{/if}}" +
1696 "\r\n </script>\r\n</div>\r\n");
1697
1698
1699 #line 550 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1700
1701 }
1702
1703
1704 #line default
1705 #line hidden
1706 WriteLiteral(" </div>\r\n");
1707
1708
1709 #line 553 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1710 }
1711
1712
1713 #line default
1714 #line hidden
1715 WriteLiteral("\n </div>\n <div");
1716
1717 WriteAttribute("class", Tuple.Create(" class=\"", 24215), Tuple.Create("\"", 24249)
1718
1719 #line 556 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1720 , Tuple.Create(Tuple.Create("", 24223), Tuple.Create<System.Object, System.Int32>(productlistAsideClassList
1721
1722 #line default
1723 #line hidden
1724 , 24223), false)
1725 );
1726
1727 WriteLiteral(">\n <form");
1728
1729 WriteLiteral(" class=\"js-e-productlist-form\"");
1730
1731 WriteLiteral(">\n");
1732
1733
1734 #line 558 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1735
1736
1737 #line default
1738 #line hidden
1739
1740 #line 558 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1741
1742 string pageUrl = GetGlobalValue( "Global:Pageview.Url" );
1743 string sortBy = string.IsNullOrEmpty( HttpContext.Current.Request[ "SortBy" ] ) ? GetString( "Ecom:ProductList.SortBy" ) : HttpContext.Current.Request[ "SortBy" ];
1744 if ( sortBy == "Name" || sortBy == "Price" )
1745 {
1746 sortBy = "Sort" + sortBy;
1747 }
1748 else if ( sortBy == "UserDefined" )
1749 {
1750 sortBy = "PrimaryGroupSort";
1751 }
1752 string sortOrder = string.IsNullOrEmpty( HttpContext.Current.Request[ "SortOrder" ] ) ? GetString( "Ecom:ProductList.SortOrder" ) : HttpContext.Current.Request[ "SortOrder" ];
1753 string pageSize = string.IsNullOrEmpty( HttpContext.Current.Request[ "PageSize" ] ) ? GetString( "Ecom:ProductList.PageSize" ) : HttpContext.Current.Request[ "PageSize" ];
1754 string pageNum = string.IsNullOrEmpty( HttpContext.Current.Request[ "PageNum" ] ) ? GetString( "Ecom:ProductList.CurrentPage" ) : HttpContext.Current.Request[ "PageNum" ];
1755
1756
1757 #line default
1758 #line hidden
1759 WriteLiteral("\r\n<input");
1760
1761 WriteLiteral(" type=\"hidden\"");
1762
1763 WriteLiteral(" name=\"ID\"");
1764
1765 WriteAttribute("value", Tuple.Create(" value=\"", 25285), Tuple.Create("\"", 25310)
1766
1767 #line 573 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1768 , Tuple.Create(Tuple.Create("", 25293), Tuple.Create<System.Object, System.Int32>(Espresso.Page.ID
1769
1770 #line default
1771 #line hidden
1772 , 25293), false)
1773 );
1774
1775 WriteLiteral(">\r\n<input");
1776
1777 WriteLiteral(" type=\"hidden\"");
1778
1779 WriteLiteral(" name=\"PageNum\"");
1780
1781 WriteAttribute("value", Tuple.Create(" value=\"", 25349), Tuple.Create("\"", 25400)
1782
1783 #line 574 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1784 , Tuple.Create(Tuple.Create("", 25357), Tuple.Create<System.Object, System.Int32>(HttpUtility.HtmlAttributeEncode( pageNum )
1785
1786 #line default
1787 #line hidden
1788 , 25357), false)
1789 );
1790
1791 WriteLiteral(">\r\n<input");
1792
1793 WriteLiteral(" type=\"hidden\"");
1794
1795 WriteLiteral(" name=\"PageUrl\"");
1796
1797 WriteAttribute("value", Tuple.Create(" value=\"", 25439), Tuple.Create("\"", 25490)
1798
1799 #line 575 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1800 , Tuple.Create(Tuple.Create("", 25447), Tuple.Create<System.Object, System.Int32>(HttpUtility.HtmlAttributeEncode( pageUrl )
1801
1802 #line default
1803 #line hidden
1804 , 25447), false)
1805 );
1806
1807 WriteLiteral(">\r\n<input");
1808
1809 WriteLiteral(" type=\"hidden\"");
1810
1811 WriteLiteral(" name=\"SortBy\"");
1812
1813 WriteAttribute("value", Tuple.Create(" value=\"", 25528), Tuple.Create("\"", 25578)
1814
1815 #line 576 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1816 , Tuple.Create(Tuple.Create("", 25536), Tuple.Create<System.Object, System.Int32>(HttpUtility.HtmlAttributeEncode( sortBy )
1817
1818 #line default
1819 #line hidden
1820 , 25536), false)
1821 );
1822
1823 WriteLiteral(">\r\n<input");
1824
1825 WriteLiteral(" type=\"hidden\"");
1826
1827 WriteLiteral(" name=\"SortOrder\"");
1828
1829 WriteAttribute("value", Tuple.Create(" value=\"", 25619), Tuple.Create("\"", 25672)
1830
1831 #line 577 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1832 , Tuple.Create(Tuple.Create("", 25627), Tuple.Create<System.Object, System.Int32>(HttpUtility.HtmlAttributeEncode( sortOrder )
1833
1834 #line default
1835 #line hidden
1836 , 25627), false)
1837 );
1838
1839 WriteLiteral(">\r\n<input");
1840
1841 WriteLiteral(" type=\"hidden\"");
1842
1843 WriteLiteral(" name=\"PageSize\"");
1844
1845 WriteAttribute("value", Tuple.Create(" value=\"", 25712), Tuple.Create("\"", 25764)
1846
1847 #line 578 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1848 , Tuple.Create(Tuple.Create("", 25720), Tuple.Create<System.Object, System.Int32>(HttpUtility.HtmlAttributeEncode( pageSize )
1849
1850 #line default
1851 #line hidden
1852 , 25720), false)
1853 );
1854
1855 WriteLiteral(">\r\n\r\n");
1856
1857
1858 #line 580 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1859 if ( Espresso.Item.FiltersShow == "True" )
1860 {
1861 foreach ( LoopItem facetGroup in GetLoop( "FacetGroups" ) )
1862 {
1863
1864
1865 #line default
1866 #line hidden
1867 WriteLiteral(" <input");
1868
1869 WriteLiteral(" type=\"hidden\"");
1870
1871 WriteLiteral(" name=\"fg\"");
1872
1873 WriteAttribute("value", Tuple.Create(" value=\"", 25920), Tuple.Create("\"", 25970)
1874
1875 #line 584 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1876 , Tuple.Create(Tuple.Create("", 25928), Tuple.Create<System.Object, System.Int32>(facetGroup.GetString( "FacetGroup.Name" )
1877
1878 #line default
1879 #line hidden
1880 , 25928), false)
1881 );
1882
1883 WriteLiteral(">\r\n");
1884
1885
1886 #line 585 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1887 }
1888
1889
1890 #line default
1891 #line hidden
1892 WriteLiteral(" <input");
1893
1894 WriteLiteral(" type=\"hidden\"");
1895
1896 WriteLiteral(" class=\"js-e-visible-options-count\"");
1897
1898 WriteAttribute("value", Tuple.Create(" value=\"", 26036), Tuple.Create("\"", 26084)
1899
1900 #line 586 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1901 , Tuple.Create(Tuple.Create("", 26044), Tuple.Create<System.Object, System.Int32>(Espresso.Item.FiltersVisibleOptionCount
1902
1903 #line default
1904 #line hidden
1905 , 26044), false)
1906 );
1907
1908 WriteLiteral(">\r\n");
1909
1910
1911 #line 587 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1912 }
1913
1914
1915 #line default
1916 #line hidden
1917
1918 #line 588 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1919 foreach ( LoopItem query in GetLoop( "Query.Parameters" ) )
1920 {
1921 if ( string.IsNullOrEmpty( query.GetString( "Parameter.Value" ) ) == false )
1922 {
1923 if ( query.GetBoolean( "Parameter.IsHandledAsFacet" ) == false && query.GetString( "Parameter.Name" ) != "q" )
1924 {
1925
1926
1927 #line default
1928 #line hidden
1929 WriteLiteral(" <input");
1930
1931 WriteLiteral(" type=\"hidden\"");
1932
1933 WriteAttribute("name", Tuple.Create(" name=\"", 26390), Tuple.Create("\"", 26433)
1934
1935 #line 594 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1936 , Tuple.Create(Tuple.Create("", 26397), Tuple.Create<System.Object, System.Int32>(query.GetString( "Parameter.Name" )
1937
1938 #line default
1939 #line hidden
1940 , 26397), false)
1941 );
1942
1943 WriteAttribute("value", Tuple.Create(" value=\"", 26434), Tuple.Create("\"", 26479)
1944
1945 #line 594 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1946 , Tuple.Create(Tuple.Create("", 26442), Tuple.Create<System.Object, System.Int32>(query.GetString( "Parameter.Value" )
1947
1948 #line default
1949 #line hidden
1950 , 26442), false)
1951 );
1952
1953 WriteLiteral(">\r\n");
1954
1955
1956 #line 595 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1957 }
1958 }
1959 }
1960
1961
1962 #line default
1963 #line hidden
1964 WriteLiteral("\n <div");
1965
1966 WriteAttribute("id", Tuple.Create(" id=\"", 26519), Tuple.Create("\"", 26563)
1967 , Tuple.Create(Tuple.Create("", 26524), Tuple.Create("js-e-productlist-filters-", 26524), true)
1968
1969 #line 599 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1970 , Tuple.Create(Tuple.Create("", 26549), Tuple.Create<System.Object, System.Int32>(paragraphId
1971
1972 #line default
1973 #line hidden
1974 , 26549), false)
1975 );
1976
1977 WriteLiteral(" class=\"d-lg-block d-none\"");
1978
1979 WriteLiteral(">\r\n <script");
1980
1981 WriteAttribute("id", Tuple.Create(" id=\"", 26602), Tuple.Create("\"", 26662)
1982 , Tuple.Create(Tuple.Create("", 26607), Tuple.Create("js-e-handlebars-tmpl-productlist-filters-", 26607), true)
1983
1984 #line 600 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
1985 , Tuple.Create(Tuple.Create("", 26648), Tuple.Create<System.Object, System.Int32>(paragraphId
1986
1987 #line default
1988 #line hidden
1989 , 26648), false)
1990 );
1991
1992 WriteLiteral(" type=\"text/x-handlebars-template\"");
1993
1994 WriteLiteral(@">
1995 {{#if page.filtersAppliedCount}}
1996 <div class=""e-productlist-filters-group e-productlist-filters-group-summery"">
1997 <p class=""e-productlist-filters-group-header small mb-0"">
1998 <span class=""e-productlist-filters-group-name h4 m-0 pl-0"">");
1999
2000
2001 #line 604 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2002 Write(Translate( "eCom Productlist Filters - Selected - Text", "Selected filters" ));
2003
2004
2005 #line default
2006 #line hidden
2007 WriteLiteral("</span>\r\n <button type=\"button\" class=\"btn btn-sm btn-link py-1 px-0 js-" +
2008 "e-productlist-filters-clear-all\">");
2009
2010
2011 #line 605 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2012 Write(Translate( "eCom Productlist Filter - Group Reset - Button", "Reset" ));
2013
2014
2015 #line default
2016 #line hidden
2017 WriteLiteral(@"</button>
2018 </p>
2019 <div class=""e-productlist-filters-group-options-selected small mb-2"">
2020 {{#each facets}}
2021 {{#if selectedOptions.length}}
2022 {{#each selectedOptions}}
2023 <a class=""e-productlist-filters-option-selected js-e-productlist-filters-remove d-flex align-items-center text-decoration-none mb-1"" href=""#"" data-value=""{{value}}"">
2024 <i class=""material-icons material-icons-fixed text-danger mr-1"">add_circle</i>
2025 <span>{{../name}}: {{label}}</span>
2026 </a>
2027 {{/each}}
2028 {{/if}}
2029 {{/each}}
2030 {{#if page.q}}
2031 <a class=""e-productlist-filters-option-selected d-flex align-items-center text-decoration-none mb-1 js-e-productlist-filters-search-clear"" href=""#"">
2032 <i class=""material-icons material-icons-fixed text-danger mr-1"">add_circle</i>
2033 <span>");
2034
2035
2036 #line 621 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2037 Write(Translate( "eCom Productlist Filters - Search - Text", "Search" ));
2038
2039
2040 #line default
2041 #line hidden
2042 WriteLiteral(@": {{page.q}}</span>
2043 </a>
2044 {{/if}}
2045 {{#compare page.minPrice.clean '&&' page.maxPrice.clean}}
2046 <a class=""e-productlist-filters-option-selected d-flex align-items-center text-decoration-none mb-1 js-e-productlist-filters-range-clear"" href=""#"" data-group-id=""js-e-productlist-filters-range-group-price"">
2047 <i class=""material-icons material-icons-fixed text-danger mr-1"">add_circle</i>
2048 <span>");
2049
2050
2051 #line 627 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2052 Write(Translate( "eCom Productlist Filters - Price - Heading", "Price" ));
2053
2054
2055 #line default
2056 #line hidden
2057 WriteLiteral(": {{{page.minPrice.formatted}}} - {{{page.maxPrice.formatted}}}</span>\r\n " +
2058 " </a>\r\n {{/compare}}\r\n </div>\r\n </div>\r\n {{/if}}\r\n");
2059
2060
2061 #line 633 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2062
2063
2064 #line default
2065 #line hidden
2066
2067 #line 633 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2068 if ( Espresso.Item.NavigationShow == "True" )
2069 {
2070
2071
2072 #line default
2073 #line hidden
2074 WriteLiteral(" <div");
2075
2076 WriteLiteral(" class=\"e-productlist-filters-group js-e-productlist-filters-group\"");
2077
2078 WriteLiteral(">\r\n <p");
2079
2080 WriteLiteral(" class=\"e-productlist-filters-group-header small mb-0\"");
2081
2082 WriteLiteral(">\r\n <a");
2083
2084 WriteLiteral(" class=\"e-productlist-filters-group-collapse-toggle text-black\"");
2085
2086 WriteLiteral(" data-toggle=\"collapse\"");
2087
2088 WriteLiteral(" data-target=\"#e-productlist-filters-group-navigation-");
2089
2090
2091 #line 637 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2092 Write(paragraphId);
2093
2094
2095 #line default
2096 #line hidden
2097 WriteLiteral("\"");
2098
2099 WriteLiteral(">\r\n <i");
2100
2101 WriteLiteral(" class=\"material-icons material-icons-fixed\"");
2102
2103 WriteLiteral(">arrow_drop_down</i>\r\n <span");
2104
2105 WriteLiteral(" class=\"e-productlist-filters-group-name h4 m-0\"");
2106
2107 WriteLiteral(">\r\n");
2108
2109 WriteLiteral(" ");
2110
2111
2112 #line 640 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2113 Write(Espresso.Item.NavigationHeading);
2114
2115
2116 #line default
2117 #line hidden
2118 WriteLiteral("\r\n </span>\r\n </a>\r\n </p>\r\n <fieldset");
2119
2120 WriteAttribute("id", Tuple.Create(" id=\"", 29557), Tuple.Create("\"", 29615)
2121 , Tuple.Create(Tuple.Create("", 29562), Tuple.Create("e-productlist-filters-group-navigation-", 29562), true)
2122
2123 #line 644 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2124 , Tuple.Create(Tuple.Create("", 29601), Tuple.Create<System.Object, System.Int32>(paragraphId
2125
2126 #line default
2127 #line hidden
2128 , 29601), false)
2129 );
2130
2131 WriteLiteral(" class=\"e-productlist-filters-group-options mb-2 small collapse show\"");
2132
2133 WriteLiteral(">\r\n <div");
2134
2135 WriteLiteral(" class=\"e-nav-local e-nav-local-vertical\"");
2136
2137 WriteLiteral(">\r\n <nav");
2138
2139 WriteLiteral(" class=\"e-nav-local-container\"");
2140
2141 WriteLiteral(">\r\n <ul");
2142
2143 WriteLiteral(" class=\"nav flex-column\"");
2144
2145 WriteLiteral(">\r\n");
2146
2147 WriteLiteral(" ");
2148
2149
2150 #line 648 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2151 Write(RenderNavigation( new
2152 {
2153 id = "dwnav-local-" + Espresso.Id,
2154 parentid = string.IsNullOrEmpty( Espresso.Item.NavigationParentPage ) == false ? Espresso.Item.NavigationParentPage : Espresso.Page.ID,
2155 template = "local-vertical.xslt",
2156 startlevel = Espresso.Item.NavigationLevelStart,
2157 endlevel = Espresso.Item.NavigationLevelEnd,
2158 expandmode = "path"
2159 } ));
2160
2161
2162 #line default
2163 #line hidden
2164 WriteLiteral("\r\n </ul>\r\n </nav>\r\n </div>\r\n </fieldset>\r" +
2165 "\n </div>\r\n");
2166
2167
2168 #line 662 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2169 }
2170
2171
2172 #line default
2173 #line hidden
2174 WriteLiteral(" ");
2175
2176
2177 #line 663 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2178 if ( Espresso.Item.SearchShow == "True" )
2179 {
2180
2181
2182 #line default
2183 #line hidden
2184 WriteLiteral(" <div");
2185
2186 WriteLiteral(" class=\"e-productlist-filters-group js-e-productlist-filters-group\"");
2187
2188 WriteLiteral(">\r\n <p");
2189
2190 WriteLiteral(" class=\"e-productlist-filters-group-header small mb-0\"");
2191
2192 WriteLiteral(">\r\n <a");
2193
2194 WriteLiteral(" class=\"e-productlist-filters-group-collapse-toggle {{#unless page.q}}collapsed{{" +
2195 "/unless}}\"");
2196
2197 WriteLiteral(" data-toggle=\"collapse\"");
2198
2199 WriteLiteral(" data-target=\"#e-productlist-filters-group-search-");
2200
2201
2202 #line 667 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2203 Write(paragraphId);
2204
2205
2206 #line default
2207 #line hidden
2208 WriteLiteral("\"");
2209
2210 WriteLiteral(">\r\n <i");
2211
2212 WriteLiteral(" class=\"material-icons material-icons-fixed\"");
2213
2214 WriteLiteral(">arrow_drop_down</i>\r\n <span");
2215
2216 WriteLiteral(" class=\"e-productlist-filters-group-name h4 m-0\"");
2217
2218 WriteLiteral(">");
2219
2220
2221 #line 669 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2222 Write(Translate( "eCom Productlist Filters - Search - Heading", "Search" ));
2223
2224
2225 #line default
2226 #line hidden
2227 WriteLiteral("</span>\r\n </a>\r\n {{#if page.q}}\r\n <button");
2228
2229 WriteLiteral(" type=\"button\"");
2230
2231 WriteLiteral(" class=\"btn btn-sm btn-link py-1 px-0 js-e-productlist-filters-search-clear\"");
2232
2233 WriteLiteral(">\r\n");
2234
2235 WriteLiteral(" ");
2236
2237
2238 #line 673 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2239 Write(Translate( "eCom Productlist Filter - Group Reset - Button", "Reset" ));
2240
2241
2242 #line default
2243 #line hidden
2244 WriteLiteral("\r\n </button>\r\n {{/if}}\r\n </p>\r\n <fieldset");
2245
2246 WriteAttribute("id", Tuple.Create(" id=\"", 31387), Tuple.Create("\"", 31441)
2247 , Tuple.Create(Tuple.Create("", 31392), Tuple.Create("e-productlist-filters-group-search-", 31392), true)
2248
2249 #line 677 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2250 , Tuple.Create(Tuple.Create("", 31427), Tuple.Create<System.Object, System.Int32>(paragraphId
2251
2252 #line default
2253 #line hidden
2254 , 31427), false)
2255 );
2256
2257 WriteLiteral(" class=\"e-productlist-filters-group-options mb-2 small collapse show\"");
2258
2259 WriteLiteral(">\r\n <div");
2260
2261 WriteLiteral(" class=\"js-e-search-input-group e-search-input-group {{#unless page.q}}is-empty{{" +
2262 "/unless}}\"");
2263
2264 WriteLiteral(">\r\n <label");
2265
2266 WriteLiteral(" class=\"e-search-label\"");
2267
2268 WriteAttribute("for", Tuple.Create(" for=\"", 31663), Tuple.Create("\"", 31697)
2269 , Tuple.Create(Tuple.Create("", 31669), Tuple.Create("filter_search_", 31669), true)
2270
2271 #line 679 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2272 , Tuple.Create(Tuple.Create("", 31683), Tuple.Create<System.Object, System.Int32>(paragraphId
2273
2274 #line default
2275 #line hidden
2276 , 31683), false)
2277 );
2278
2279 WriteLiteral("><i");
2280
2281 WriteLiteral(" class=\"material-icons\"");
2282
2283 WriteLiteral(">search</i></label>\r\n <input");
2284
2285 WriteLiteral(" type=\"text\"");
2286
2287 WriteLiteral(" class=\"js-e-search-input e-search-input e-productlist-filters-search-input form-" +
2288 "control-plaintext\"");
2289
2290 WriteLiteral(" name=\"q\"");
2291
2292 WriteAttribute("id", Tuple.Create(" id=\"", 31883), Tuple.Create("\"", 31916)
2293 , Tuple.Create(Tuple.Create("", 31888), Tuple.Create("filter_search_", 31888), true)
2294
2295 #line 680 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2296 , Tuple.Create(Tuple.Create("", 31902), Tuple.Create<System.Object, System.Int32>(paragraphId
2297
2298 #line default
2299 #line hidden
2300 , 31902), false)
2301 );
2302
2303 WriteLiteral(" value=\"{{page.q}}\"");
2304
2305 WriteLiteral(">\r\n <span");
2306
2307 WriteLiteral(" class=\"js-e-search-clear e-search-clear\"");
2308
2309 WriteLiteral("><i");
2310
2311 WriteLiteral(" class=\"material-icons\"");
2312
2313 WriteLiteral(">close</i></span>\r\n <button");
2314
2315 WriteLiteral(" class=\"d-none e-search-submit btn btn-primary js-e-productlist-filters-search-su" +
2316 "bmit\"");
2317
2318 WriteLiteral(" type=\"button\"");
2319
2320 WriteLiteral("><i");
2321
2322 WriteLiteral(" class=\"material-icons pa-0\"");
2323
2324 WriteLiteral(">search</i></button>\r\n </div>\r\n </fieldset>\r\n </div>\r\n");
2325
2326
2327 #line 686 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2328 }
2329
2330
2331 #line default
2332 #line hidden
2333 WriteLiteral(@"
2334 {{#each facets}}
2335 {{#compare count '>' 0}}
2336 <div class=""e-productlist-filters-group js-e-productlist-filters-group"">
2337 <p class=""e-productlist-filters-group-header small mb-0"">
2338 <a class=""e-productlist-filters-group-collapse-toggle {{#unless selectedOptions.length }}{{#compare ");
2339
2340 WriteLiteral("@first \'&&\' ");
2341
2342 WriteLiteral("@root.page.hasNoInteraction}}{{else}}collapsed{{/compare}}{{/unless}}\" data-toggl" +
2343 "e=\"collapse\" data-target=\"#e-productlist-filters-group-{{param}}-");
2344
2345
2346 #line 692 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2347 Write(paragraphId);
2348
2349
2350 #line default
2351 #line hidden
2352 WriteLiteral(@""">
2353 <i class=""material-icons material-icons-fixed"">arrow_drop_down</i>
2354 <span class=""e-productlist-filters-group-name h4 m-0"">{{label}}</span>
2355 </a>
2356 {{#if selectedOptions.length}}
2357 <label for=""reset-filter-{{param}}-");
2358
2359
2360 #line 697 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2361 Write(paragraphId);
2362
2363
2364 #line default
2365 #line hidden
2366 WriteLiteral("\" class=\"btn btn-sm btn-link py-1 px-0 m-0\">\r\n");
2367
2368 WriteLiteral(" ");
2369
2370
2371 #line 698 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2372 Write(Translate( "eCom Productlist Filter - Group Reset - Label", "Reset" ));
2373
2374
2375 #line default
2376 #line hidden
2377 WriteLiteral("\r\n </label>\r\n {{/if}}\r\n </p>\r\n <fie" +
2378 "ldset id=\"e-productlist-filters-group-{{param}}-");
2379
2380
2381 #line 702 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2382 Write(paragraphId);
2383
2384
2385 #line default
2386 #line hidden
2387 WriteLiteral("\" class=\"e-productlist-filters-group-options js-e-productlist-filters-group-optio" +
2388 "ns mb-2 small collapse {{#if selectedOptions.length }}is-expanded{{else}}{{#comp" +
2389 "are ");
2390
2391 WriteLiteral("@first \'&&\' ");
2392
2393 WriteLiteral("@root.page.hasNoInteraction}}is-expanded{{/compare}}{{/if}}\">\r\n <div c" +
2394 "lass=\"{{#compare count \'>\' ");
2395
2396
2397 #line 703 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2398 Write(Espresso.Item.FiltersVisibleOptionCount);
2399
2400
2401 #line default
2402 #line hidden
2403 WriteLiteral(@" }}js-e-productlist-filters-options-collapse-peek e-productlist-filters-options-collapse-peek is-peeking{{/compare}}"">
2404 <div class=""e-productlist-filters-option js-e-productlist-filters-option"">
2405 <label for=""reset-filter-{{param}}-");
2406
2407
2408 #line 705 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2409 Write(paragraphId);
2410
2411
2412 #line default
2413 #line hidden
2414 WriteLiteral("\" class=\"custom-control custom-checkbox\">\r\n <input class=\"js-e-p" +
2415 "roductlist-filters-option-reset-group custom-control-input\" name=\"reset-filter-{" +
2416 "{param}}-");
2417
2418
2419 #line 706 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2420 Write(paragraphId);
2421
2422
2423 #line default
2424 #line hidden
2425 WriteLiteral("\" id=\"reset-filter-{{param}}-");
2426
2427
2428 #line 706 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2429 Write(paragraphId);
2430
2431
2432 #line default
2433 #line hidden
2434 WriteLiteral("\" type=\"checkbox\" value=\"true\" {{#compare isCleared \'||\' isEmpty}}checked{{/compa" +
2435 "re}}>\r\n <span class=\"custom-control-indicator\"></span>\r\n " +
2436 " <span class=\"custom-control-description\">");
2437
2438
2439 #line 708 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2440 Write(Translate( "eCom Productlist Filter - Options View All - Label", "All" ));
2441
2442
2443 #line default
2444 #line hidden
2445 WriteLiteral(@"</span>
2446 </label>
2447 </div>
2448 {{#each options}}
2449 <div class=""e-productlist-filters-option js-e-productlist-filters-option {{#if isSelected}}is-selected{{/if}} {{#if isDisabled}}is-disabled text-muted{{/if}}"">
2450 <label for=""{{id}}-");
2451
2452
2453 #line 713 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2454 Write(paragraphId);
2455
2456
2457 #line default
2458 #line hidden
2459 WriteLiteral("\" class=\"custom-control custom-checkbox\">\r\n <input id=\"{{id}}-" +
2460 "");
2461
2462
2463 #line 714 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2464 Write(paragraphId);
2465
2466
2467 #line default
2468 #line hidden
2469 WriteLiteral(@""" name=""{{param}}"" class=""js-e-productlist-filter custom-control-input"" type=""checkbox"" value=""{{value}}"" {{#if isSelected}}checked{{/if}} {{#if isDisabled}}disabled{{/if}}>
2470 <span class=""custom-control-indicator""></span>
2471 <span class=""custom-control-description"">{{label}} <span class=""e-productlist-filters-option-count small text-muted"">({{count}})</span></span>
2472 </label>
2473 </div>
2474 {{/each}}
2475 {{#compare count '>' ");
2476
2477
2478 #line 720 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2479 Write(Espresso.Item.FiltersVisibleOptionCount);
2480
2481
2482 #line default
2483 #line hidden
2484 WriteLiteral(" }}\r\n <a href=\"#\" class=\"js-e-productlist-filters-options-collapse" +
2485 "-peek-toggle e-productlist-filters-options-collapse-peek-toggle\" data-closed-tex" +
2486 "t=\"");
2487
2488
2489 #line 721 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2490 Write(Translate( "eCom Productlist Filter - Options Show More - Link", "Show more" ));
2491
2492
2493 #line default
2494 #line hidden
2495 WriteLiteral("\" data-open-text=\"");
2496
2497
2498 #line 721 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2499 Write(Translate( "eCom Productlist Filter - Options Show Less - Link", "Show less" ));
2500
2501
2502 #line default
2503 #line hidden
2504 WriteLiteral("\"><i class=\"material-icons material-icons-fixed\">keyboard_arrow_down</i></a>\r\n " +
2505 " {{/compare}}\r\n </div>\r\n </fieldset>\r\n </di" +
2506 "v>\r\n {{/compare}}\r\n {{/each}}\r\n");
2507
2508
2509 #line 728 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2510
2511
2512 #line default
2513 #line hidden
2514
2515 #line 728 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2516 if ( Espresso.Item.PriceRangeShow == "True" )
2517 {
2518
2519
2520 #line default
2521 #line hidden
2522 WriteLiteral(" <div");
2523
2524 WriteLiteral(" class=\"e-productlist-filters-group js-e-productlist-filters-group\"");
2525
2526 WriteLiteral(">\r\n <p");
2527
2528 WriteLiteral(" class=\"e-productlist-filters-group-header small mb-0\"");
2529
2530 WriteLiteral(">\r\n <a");
2531
2532 WriteLiteral(" class=\"e-productlist-filters-group-collapse-toggle {{#compare page.minPrice.clea" +
2533 "n \'!!\' page.maxPrice.clean}}collapsed{{/compare}}\"");
2534
2535 WriteLiteral(" data-toggle=\"collapse\"");
2536
2537 WriteLiteral(" data-target=\"#e-productlist-filters-group-pricerange-");
2538
2539
2540 #line 732 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2541 Write(paragraphId);
2542
2543
2544 #line default
2545 #line hidden
2546 WriteLiteral("\"");
2547
2548 WriteLiteral(">\r\n <i");
2549
2550 WriteLiteral(" class=\"material-icons material-icons-fixed\"");
2551
2552 WriteLiteral(">arrow_drop_down</i>\r\n <span");
2553
2554 WriteLiteral(" class=\"e-productlist-filters-group-name h4 m-0\"");
2555
2556 WriteLiteral(">");
2557
2558
2559 #line 734 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2560 Write(Translate( "eCom Productlist Filters - Price Range - Heading", "Price" ));
2561
2562
2563 #line default
2564 #line hidden
2565 WriteLiteral("</span>\r\n </a>\r\n {{#compare page.minPrice.clean \'||\' page.maxPr" +
2566 "ice.clean}}\r\n <button");
2567
2568 WriteLiteral(" type=\"button\"");
2569
2570 WriteLiteral(" class=\"btn btn-sm btn-link py-1 px-0 js-e-productlist-filters-range-clear\"");
2571
2572 WriteLiteral(">\r\n");
2573
2574 WriteLiteral(" ");
2575
2576
2577 #line 738 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2578 Write(Translate( "eCom Productlist Filter - Group Reset - Button", "Reset" ));
2579
2580
2581 #line default
2582 #line hidden
2583 WriteLiteral("\r\n </button>\r\n {{/compare}}\r\n </p>\r\n <fieldset");
2584
2585 WriteAttribute("id", Tuple.Create(" id=\"", 37013), Tuple.Create("\"", 37071)
2586 , Tuple.Create(Tuple.Create("", 37018), Tuple.Create("e-productlist-filters-group-pricerange-", 37018), true)
2587
2588 #line 742 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2589 , Tuple.Create(Tuple.Create("", 37057), Tuple.Create<System.Object, System.Int32>(paragraphId
2590
2591 #line default
2592 #line hidden
2593 , 37057), false)
2594 );
2595
2596 WriteLiteral(" class=\"e-productlist-filters-group-options mb-2 small collapse {{#compare page.m" +
2597 "inPrice.clean \'||\' page.maxPrice.clean}}show{{/compare}}\"");
2598
2599 WriteLiteral(">\r\n <div");
2600
2601 WriteAttribute("id", Tuple.Create(" id=\"", 37227), Tuple.Create("\"", 37289)
2602 , Tuple.Create(Tuple.Create("", 37232), Tuple.Create("js-e-productlist-filters-range-group-price-", 37232), true)
2603
2604 #line 743 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2605 , Tuple.Create(Tuple.Create("", 37275), Tuple.Create<System.Object, System.Int32>(paragraphId
2606
2607 #line default
2608 #line hidden
2609 , 37275), false)
2610 );
2611
2612 WriteLiteral(" class=\"row align-items-center mt-1 e-productlist-filters-range-group js-e-produc" +
2613 "tlist-filters-range-group\"");
2614
2615 WriteLiteral(">\r\n <div");
2616
2617 WriteLiteral(" class=\"col-12 col-lg-4 mb-1 mb-lg-0\"");
2618
2619 WriteLiteral(">\r\n <input");
2620
2621 WriteLiteral(" type=\"text\"");
2622
2623 WriteLiteral(" class=\"form-control js-e-productlist-filters-range js-e-productlist-filters-rang" +
2624 "e-min\"");
2625
2626 WriteLiteral(" name=\"PriceRangeMin\"");
2627
2628 WriteAttribute("id", Tuple.Create(" id=\"", 37596), Tuple.Create("\"", 37629)
2629 , Tuple.Create(Tuple.Create("", 37601), Tuple.Create("PriceRangeMin-", 37601), true)
2630
2631 #line 745 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2632 , Tuple.Create(Tuple.Create("", 37615), Tuple.Create<System.Object, System.Int32>(paragraphId
2633
2634 #line default
2635 #line hidden
2636 , 37615), false)
2637 );
2638
2639 WriteLiteral(" value=\"{{page.minPrice.clean}}\"");
2640
2641 WriteAttribute("placeholder", Tuple.Create(" placeholder=\"", 37662), Tuple.Create("\"", 37743)
2642
2643 #line 745 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2644 , Tuple.Create(Tuple.Create("", 37676), Tuple.Create<System.Object, System.Int32>(Translate( "eCom Productlist Filters - Price Min - Text", "From" )
2645
2646 #line default
2647 #line hidden
2648 , 37676), false)
2649 );
2650
2651 WriteLiteral(" min=\"0\"");
2652
2653 WriteLiteral(">\r\n </div>\r\n <div");
2654
2655 WriteLiteral(" class=\"col-12 col-lg-4 mb-1 mb-lg-0\"");
2656
2657 WriteLiteral(">\r\n <input");
2658
2659 WriteLiteral(" type=\"text\"");
2660
2661 WriteLiteral(" class=\"form-control js-e-productlist-filters-range js-e-productlist-filters-rang" +
2662 "e-max\"");
2663
2664 WriteLiteral(" name=\"PriceRangeMax\"");
2665
2666 WriteAttribute("id", Tuple.Create(" id=\"", 37971), Tuple.Create("\"", 38004)
2667 , Tuple.Create(Tuple.Create("", 37976), Tuple.Create("PriceRangeMax-", 37976), true)
2668
2669 #line 748 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2670 , Tuple.Create(Tuple.Create("", 37990), Tuple.Create<System.Object, System.Int32>(paragraphId
2671
2672 #line default
2673 #line hidden
2674 , 37990), false)
2675 );
2676
2677 WriteLiteral(" value=\"{{page.maxPrice.clean}}\"");
2678
2679 WriteAttribute("placeholder", Tuple.Create(" placeholder=\"", 38037), Tuple.Create("\"", 38116)
2680
2681 #line 748 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2682 , Tuple.Create(Tuple.Create("", 38051), Tuple.Create<System.Object, System.Int32>(Translate( "eCom Productlist Filters - Price Max - Text", "To" )
2683
2684 #line default
2685 #line hidden
2686 , 38051), false)
2687 );
2688
2689 WriteLiteral(" data-msg-rangeValid=\"");
2690
2691
2692 #line 748 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2693 Write(Translate( "eCom Productlist Filters - Price Error - Msg", "Prices entered incorrectly" ));
2694
2695
2696 #line default
2697 #line hidden
2698 WriteLiteral("\"");
2699
2700 WriteLiteral(">\r\n </div>\r\n <div");
2701
2702 WriteLiteral(" class=\"col-12 col-lg-3\"");
2703
2704 WriteLiteral(">\r\n <button");
2705
2706 WriteLiteral(" type=\"button\"");
2707
2708 WriteLiteral(" class=\"btn btn-primary px-0 btn-sm btn-block e-productlist-filters-apply-range j" +
2709 "s-e-productlist-filters-apply-range\"");
2710
2711 WriteLiteral("><i");
2712
2713 WriteLiteral(" class=\"material-icons\"");
2714
2715 WriteLiteral(">sync</i></button>\r\n </div>\r\n </div>\r\n </fieldset>\r\n " +
2716 " </div>\r\n");
2717
2718
2719 #line 756 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2720 }
2721
2722
2723 #line default
2724 #line hidden
2725 WriteLiteral(" </div>\r\n</script>\r\n</div>\r\n\n <div");
2726
2727 WriteLiteral(" class=\"e-productlist-filters-modal fade modal modal-fullscreen\"");
2728
2729 WriteLiteral(" data-backdrop=\"false\"");
2730
2731 WriteLiteral(" id=\"js-e-productlist-filters-modal\"");
2732
2733 WriteLiteral(">\r\n <div");
2734
2735 WriteLiteral(" class=\"modal-dialog\"");
2736
2737 WriteLiteral(">\r\n <div");
2738
2739 WriteLiteral(" class=\"modal-content\"");
2740
2741 WriteLiteral(">\r\n <div");
2742
2743 WriteLiteral(" class=\"modal-header\"");
2744
2745 WriteLiteral(">\r\n <h3");
2746
2747 WriteLiteral(" class=\"modal-title\"");
2748
2749 WriteLiteral(">\r\n <i");
2750
2751 WriteLiteral(" class=\"material-icons material-icons-large\"");
2752
2753 WriteLiteral(">tune</i>\r\n");
2754
2755 WriteLiteral(" ");
2756
2757
2758 #line 767 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2759 Write(Translate( "eCom Productlist Filters - Customize Selection - Heading", "Filter products" ));
2760
2761
2762 #line default
2763 #line hidden
2764 WriteLiteral("\r\n </h3>\r\n <button");
2765
2766 WriteLiteral(" class=\"close\"");
2767
2768 WriteLiteral(" data-dismiss=\"modal\"");
2769
2770 WriteLiteral(" type=\"button\"");
2771
2772 WriteLiteral(">\r\n <i");
2773
2774 WriteLiteral(" class=\"material-icons\"");
2775
2776 WriteLiteral(">close</i>\r\n </button>\r\n </div>\r\n <div");
2777
2778 WriteLiteral(" class=\"modal-body pt-0\"");
2779
2780 WriteLiteral(">\r\n <div");
2781
2782 WriteLiteral(" id=\"js-e-productlist-filters-modal-body\"");
2783
2784 WriteLiteral(" class=\"d-flex flex-column\"");
2785
2786 WriteLiteral(">\r\n\r\n </div>\r\n </div>\r\n <div");
2787
2788 WriteLiteral(" class=\"modal-footer bg-info border-top-0\"");
2789
2790 WriteLiteral(">\r\n <button");
2791
2792 WriteLiteral(" class=\"btn btn-primary btn-block\"");
2793
2794 WriteLiteral(" data-dismiss=\"modal\"");
2795
2796 WriteLiteral(" type=\"button\"");
2797
2798 WriteLiteral(">");
2799
2800
2801 #line 779 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2802 Write(Translate( "eCom Productlist Filters - Customize Selection Apply - Button", "Show results" ));
2803
2804
2805 #line default
2806 #line hidden
2807 WriteLiteral("</button>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\n </form>\n " +
2808 " </div>\n </div>\n </div>\n\n </div>\n </div>\n\n </di" +
2809 "v>\n</div>\n");
2810
2811
2812 #line 795 "E:\Dynamicweb.NET\Solutions\junckers.espresso4.dk\files\Templates\Designs\junckers\eCom\Productlist\espresso-download.cshtml"
2813 Write(sectionStart());
2814
2815
2816 #line default
2817 #line hidden
2818 }
2819 }
2820 }
2821
1 @inherits Co3.Espresso.Website.TemplateBases.Paragraphs.Module
@using Co3.Espresso.Base.Extensions
@using Co3.Espresso.Website.Models.FrontEnd
@using Co3.Espresso.Website.Services
@using Dynamicweb.Content
@using Dynamicweb.Content.Items.Metadata
@using Dynamicweb.Content.Items
@using Dynamicweb.Frontend
@using System.Web
@using System.Web.Util
@using ParagraphService = Co3.Espresso.Website.Services.ParagraphService
@using System.Globalization
@using Co3.Espresso.Base.Extensions
@using Co3.Espresso.DownloadManager.Models
@using Co3.Espresso.Website.Models.FrontEnd
@using Co3.Espresso.Website.Services
@using Dynamicweb.Content
@using Dynamicweb.Frontend
@using Dynamicweb.Rendering
@using EcomContext = Dynamicweb.Ecommerce.Common.Context
@functions {
public string getCountryCodeFromArea( Area area )
{
RegionInfo regionInfo = new RegionInfo( area.CultureInfo.LCID );
return regionInfo.TwoLetterISORegionName;
}
public dynamic GetPriceInfo( string beforePrice = "", string basicPrice = "" )
{
double vat = EcomContext.Country.Vat;
double dblBeforePrice = 0;
double.TryParse( beforePrice, out dblBeforePrice );
double dblBasicPrice = 0;
double.TryParse( basicPrice, out dblBasicPrice );
double dblBeforePriceWithVat = 0;
double dblDiffPrice = 0;
int pct = 0;
if ( dblBeforePrice > 0 )
{
dblBeforePriceWithVat = dblBeforePrice * ( ( vat / 100d ) + 1 );
if ( dblBeforePriceWithVat > dblBasicPrice )
{
dblDiffPrice = dblBeforePriceWithVat - dblBasicPrice;
pct = (int)Math.Ceiling((( 100d / dblBeforePriceWithVat ) * dblDiffPrice));
}
}
dynamic returnValue = new
{
beforePriceWithVat = dblBeforePriceWithVat,
beforePriceWithVatFormatted = ProductService.Instance.GetPriceFormatted(dblBeforePriceWithVat),
basicPrice = dblBasicPrice,
basicPriceFormatted = ProductService.Instance.GetPriceFormatted(dblBasicPrice),
diffPrice = dblDiffPrice,
diffPriceFormatted = ProductService.Instance.GetPriceFormatted(dblDiffPrice),
pct = pct,
vat = vat
};
return returnValue;
}
}
@helper ProductDescription(string sectionClasses = "e-section", bool sectionCollapse = false, string contentClasses = null, string heading = null, string content = null)
{
if ( string.IsNullOrEmpty( content ) == false )
{
ClassList headingClassList = new ClassList();
headingClassList.AddClasses( "col-12" );
ClassList contentClassList = new ClassList();
contentClassList.AddClasses( "col-12" );
@sectionStart( sectionClasses: sectionClasses, sectionCollapse: sectionCollapse, contentClasses: contentClasses )
if ( string.IsNullOrEmpty( heading ) == false )
{
<div class="@headingClassList">
<h2>@heading</h2>
</div>
}
<div class="@contentClassList">
@content
</div>
@sectionEnd()
}
}
@helper ProductVideo(string sectionClasses = "e-section", string contentClasses = null, string heading = null, string videoURL = null)
{
if ( string.IsNullOrEmpty( videoURL ) == false )
{
ClassList headingClassList = new ClassList();
headingClassList.AddClasses( "col-12" );
ClassList contentClassList = new ClassList();
contentClassList.AddClasses( "col-12" );
@sectionStart( sectionClasses: sectionClasses, contentClasses: contentClasses )
if ( string.IsNullOrEmpty( heading ) == false )
{
<div class="@headingClassList">
<h2>@heading</h2>
</div>
}
<div class="@contentClassList">
<div class="embed-responsive embed-responsive-16by9 mb-2">
<iframe class="embed-responsive-item" src="@videoURL" width="1080" height="608" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
</div>
</div>
@sectionEnd()
}
}
@helper ProductRelatedProducts(string sectionClasses = "e-section p-section p-section-bg-white pt-3 border-bottom", string contentClasses = null, string heading = null,
IEnumerable<RazorTemplateBase<RazorTemplateModel<Template>>.LoopItem> productLoop = null)
{
if ( productLoop != null && productLoop.Any() == true )
{
ClassList headingClassList = new ClassList();
headingClassList.AddClasses( "col-10 mx-auto" );
ClassList contentClassList = new ClassList();
contentClassList.AddClasses( "col-10 mx-auto" );
@sectionStart( sectionClasses: sectionClasses, contentClasses: contentClasses )
if ( string.IsNullOrEmpty( heading ) == false )
{
<div class="@headingClassList">
<h2>@heading</h2>
</div>
}
<div class="@contentClassList">
<div class="e-products mb-2">
<div class="row">
@{
string productlistItemClassList = ProductlistService.Instance.GetGridItemWidth( null ).ToResponsiveClasses();
}
@foreach ( RazorTemplateBase<RazorTemplateModel<Template>>.LoopItem product in productLoop )
{
@ProductlistItem( product, productlistItemClassList )
}
</div>
</div>
</div>
@sectionEnd()
}
}
@helper ProductlistItem(RazorTemplateBase<RazorTemplateModel<Template>>.LoopItem product, string productlistItemClassList = null)
{
if ( product != null )
{
dynamic productData = new
{
id = product.GetString( "Ecom:Product.ID" ),
url = ProductService.Instance.GetProductLink( product.GetString( "Ecom:Product.PrimaryOrFirstGroupID" ), product.GetString( "Ecom:Product.ID" ) ),
number = product.GetString( "Ecom:Product.Number" ),
name = product.GetString( "Ecom:Product.Name" ),
imageLarge = ImageService.Instance.GetImageURL( product.GetString( "Ecom:Product.ImageLarge.Clean" ), 450, 350, 5 ),
price = ProductService.Instance.GetPriceFormatted( product.GetDouble( "Ecom:Product.Price.Price" ) ),
descriptionShortExtra01 = product.GetString( "Ecom:Product:Field.DescriptionShortExtra01" ),
descriptionShort = product.GetString( "Ecom:Product.ShortDescription" ),
stock = new
{
id = product.GetString( "Ecom:Product:Stock.ID" ),
quantity = product.GetString( "Ecom:Product.Stock" ),
text = product.GetString( "Ecom:Product:Stock.Text" ),
delivery = product.GetString( "Ecom:Product:Stock.DeliveryText" )
}
};
<div class="@productlistItemClassList">
<div class="e-products-item js-e-products-item">
<div class="e-products-item-container">
<div class="junckers-relatedproducts-item-image-container" style="background: url(@productData.imageLarge)">
@if ( string.IsNullOrEmpty( productData.descriptionShort ) == false )
{<div class="junckers-relatedproducts-item-text-container py-1">
<p class="e-products-item-text mb-0 px-2 small">
<strong>Package Size</strong>
</p>
<p class="e-products-item-text mb-0 text-muted px-2 small">
@productData.descriptionShort
</p>
</div>
}
</div>
<div class="e-products-item-text-container text-center">
<h3 class="e-products-item-name mb-0">
@productData.name
</h3>
@* <p class="e-products-item-text mb-0"> *@
@* <small class="e-products-item-price small text-muted"> *@
@* <a href="@productData.url"> *@
@* @productData.price *@
@* </a> *@
@* </small> *@
@* </p> *@
</div>
</div>
</div>
</div>
}
}
@helper sectionStart(string sectionClasses = "e-section", string contentClasses = null, bool sectionCollapse = false, string collapseToggleTextExpand = "Se mere", string collapseToggleTextCollapse = "Se mindre")
{
ClassList sectionClassList = new ClassList();
sectionClassList.AddClasses( sectionClasses );
ClassList contentClassList;
string collapseId = Guid.NewGuid().ToString( "N" );
ClassList collapseToggleClassList = new ClassList();
if ( contentClasses == null )
{
contentClassList = Co3.Espresso.Website.Services.PageService.Instance.GetResponsiveClassesFromPageItem( PageView.Current().Page.Item );
}
else
{
contentClassList = new ClassList();
contentClassList.AddClasses( contentClasses );
}
if ( sectionCollapse == true )
{
sectionClassList.AddClasses( "p-section-collapse js-p-section-collapse" );
collapseToggleClassList.AddClasses( contentClasses );
collapseToggleClassList.AddClasses( "p-section-collapse-toggle collapsed order-last text-center" );
contentClassList.AddClasses( "p-section-collapse-content collapse is-md" );
}
@:<section class="@sectionClassList">
@:<div class="container-fluid">
@:<div class="row">
if ( sectionCollapse == true )
// TODO: SplitPattern into seperate heler function
{
<div class="@collapseToggleClassList" data-toggle="collapse" data-target="#@collapseId">
<button class="btn btn-primary p-section-collapse-toggle-btn" type="button">
<i class="material-icons p-section-collapse-toggle-icon">keyboard_arrow_down</i>
</button>
<small class="p-section-collapse-toggle-text h4" data-expand-text="@collapseToggleTextExpand" data-collapse-text="@collapseToggleTextCollapse"></small>
</div>
}
@:<div class="@contentClassList" id="@collapseId">
@:<div class="row">
}
@helper sectionEnd()
{
@:</div>
@:</div>
@:</div>
@:</div>
@:</section>
}
2
3
@{
ClassList productlistMainClassList = new ClassList();
productlistMainClassList.AddClasses( "col-12" );
if ( Espresso.Item.FiltersShow == "True" )
{
productlistMainClassList.AddClasses( "col-lg-9 col-xl-9" );
}
ClassList productlistAsideClassList = new ClassList();
productlistAsideClassList.AddClasses( "col-12 col-lg-3 col-xl-3 order-lg-first" );
ClassList productlistItemClassList = new ClassList();
Dictionary< string, decimal > paragraphEcommerceGridItemWidth = ProductlistService.Instance.GetGridItemWidth( PageView.Current().CurrentParagraph.Item.GetValue< string >( "ItemWidth" ) );
productlistItemClassList.AddClasses( paragraphEcommerceGridItemWidth.ToResponsiveClasses() );
}
@sectionEnd()
@sectionStart( "p-section-bg-light is-sticky js-e-section e-section py-3 mb-3" )
<div class="col-6 col-lg-4 order-1 align-self-center">
<h4>@Translate( "DownloadManager - Heading", "Downloads" )</h4>
<h1 class="m-0">@GetGlobalValue( "Global:Page.Name" )</h1>
</div>
@* <div class="col-12 col-lg-4 order-3 order-lg-2 align-self-center mt-2 mt-lg-0"> *@
@* <form action="" class="e-search-form js-e-download-search-form"> *@
@* <div class="e-search-input-group is-empty js-e-search-input-group"> *@
@* <label class="e-search-label" for="e-search-input"> *@
@* <i class="material-icons">search</i> *@
@* </label> *@
@* @{ string Translate_Search_InputText = Translate( "Search - Input Placeholder - Text", "Search" ); } *@
@* <input type="text" class="border-0 e-search-input form-control-plaintext js-e-search-input" name="q" id="e-search-input" placeholder="@Translate_Search_InputText"> *@
@* <span class="e-search-clear js-e-search-clear"> *@
@* <i class="material-icons">close</i> *@
@* </span> *@
@* <button class="btn btn-primary e-search-submit" type="submit"> *@
@* <i class="material-icons">search</i> *@
@* </button> *@
@* </div> *@
@* </form> *@
@* </div> *@
<div class="col-12 col-lg-8 order-2 order-lg-3 text-lg-right align-self-center mt-2 mt-lg-0">
<button class="btn js-e-download-addall btn-lg mr-1" type="button">
<i class="material-icons material-icons-large text-success">add</i>
@Translate( "eCom Download - Add All To Cart - Button", "Add all to downloads" )
</button>
<a class="btn btn-lg btn-success" href="/shop/download/checkout">
<i class="material-icons material-icons-2x">file_download</i>
<span class="js-e-download-cart-quantity"></span>
@Translate( "DownloadManager - Productlist - Goto Cart - Button", "Products" )
</a>
</div>
@sectionEnd()
@sectionStart()
<div class="col-12">
<div class="js-e-loading-wait js-e-productlist js-e-productlist-download">
<div class="row">
<div class="col-12">
<div class="js-e-productslist-header small">
<div class="align-items-end row">
@if ( Espresso.Item.FiltersShow == "True" )
{
<div class="@productlistAsideClassList d-lg-block d-none">
<div class="border-bottom e-productslist-header">
<p class="h3 m-0">
<i class="material-icons material-icons-large">tune</i>
@Translate( "eCom Productlist Filters - Customize Selection - Heading", "Filter products" )
<span class="e-productlist-product-count font-weight-normal js-e-productlist-product-count pl-1 text-muted"></span>
</p>
</div>
</div>
}
@if ( Espresso.Item.SortShow == "True" || Espresso.Item.PagingShow == "True" || Espresso.Item.FiltersShow == "True" )
{
<div class="@productlistMainClassList">
<div class="align-items-end border-bottom d-lg-flex d-none e-productslist-header align-content-between flex-wrap">
@if ( Espresso.Item.SortShow == "True" )
{
<div class="align-items-center d-flex js-e-productlist-sort">
4 <script id="js-e-handlebars-tmpl-productlist-sort" type="text/x-handlebars-template">
5 <fieldset class="form-inline">
6 <div class="">
7 <label for="Sort" class="mr-1 d-none">
8 @Translate( "eCom Productlist - Sorting - Label", "Sort: " )
9 </label>
10 <select name="Sort" class="js-e-productlist-sort-select custom-select" style="padding-bottom:0.25em;">
11 <option value="SortName DESC" {{#compare sort.sort '===' 'SortName DESC'}}selected{{/compare}}>@Translate( "eCom Productlist - Sorting - Name - DESC - Label", "Name" )</option>
12 <option value="Created ASC" {{#compare sort.sort '===' 'Created ASC'}}selected{{/compare}}>@Translate( "eCom Productlist - Sorting - Created - ASC - Label", "Created" )</option>
13 <!--<option value="SortPrice ASC" {{#compare sort.sort '===' 'SortPrice ASC'}}selected{{/compare}}>@Translate( "eCom Productlist - Sorting - Price - ASC - Label", "Price - low to high" )</option>
14 <option value="SortPrice DESC" {{#compare sort.sort '===' 'SortPrice DESC'}}selected{{/compare}}>@Translate( "eCom Productlist - Sorting - Price - DESC - Label", "Price - high to low" )</option>-->
15 </select>
16 </div>
17 </fieldset>
18 </script>
19 </div>
20
}
</div>
<div class="align-items-stretch d-flex d-lg-none e-productslist-header flex-wrap justify-content-strech">
<div class="align-items-center bg-info d-flex justify-content-between p-1 w-100">
@if ( Espresso.Item.SortShow == "True" )
{
<div class="align-items-center d-flex js-e-productlist-sort">
21 <script id="js-e-handlebars-tmpl-productlist-sort" type="text/x-handlebars-template">
22 <fieldset class="form-inline">
23 <div class="">
24 <label for="Sort" class="mr-1 d-none">
25 @Translate( "eCom Productlist - Sorting - Label", "Sort: " )
26 </label>
27 <select name="Sort" class="js-e-productlist-sort-select custom-select" style="padding-bottom:0.25em;">
28 <option value="SortName DESC" {{#compare sort.sort '===' 'SortName DESC'}}selected{{/compare}}>@Translate( "eCom Productlist - Sorting - Name - DESC - Label", "Name" )</option>
29 <option value="Created ASC" {{#compare sort.sort '===' 'Created ASC'}}selected{{/compare}}>@Translate( "eCom Productlist - Sorting - Created - ASC - Label", "Created" )</option>
30 <!--<option value="SortPrice ASC" {{#compare sort.sort '===' 'SortPrice ASC'}}selected{{/compare}}>@Translate( "eCom Productlist - Sorting - Price - ASC - Label", "Price - low to high" )</option>
31 <option value="SortPrice DESC" {{#compare sort.sort '===' 'SortPrice DESC'}}selected{{/compare}}>@Translate( "eCom Productlist - Sorting - Price - DESC - Label", "Price - high to low" )</option>-->
32 </select>
33 </div>
34 </fieldset>
35 </script>
36 </div>
37
}
@if ( Espresso.Item.FiltersShow == "True" )
{
<button class="btn btn-primary js-e-productlist-filters-modal-toggle" data-target="#js-e-productlist-filters-modal" data-toggle="modal" type="button">
<i class="material-icons material-icons-large">tune</i>
@Translate( "eCom Productlist Filters - Customize Selection - Button", "Filters" )
<span class="ml-2 badge badge-primary js-e-productlist-filters-applied-count"></span>
</button>
}
</div>
<div class="py-1 flex-grow-1 text-center">
<button class="btn btn-tertiary js-e-download-addall" type="button">
<i class="material-icons material-icons-large text-success">add</i>
@Translate( "eCom Download - Add All To Cart - Button", "Add all to downloads" )
</button>
</div>
</div>
</div>
}
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-12">
<div class="e-productlist-body">
<div class="row">
<div class="@productlistMainClassList">
<div id="js-e-productlist-products">
@using Co3.Espresso.Website.Services
38 <ul hidden itemscope itemtype="http://schema.org/ItemList">
39 @foreach ( LoopItem product in GetLoop("Products") ) {
40 <li itemprop="itemListElement" itemscope itemtype="http://schema.org/Product">
41 <a href="@ProductService.Instance.GetProductLink( product.GetString("Ecom:Product.PrimaryOrFirstGroupID"), product.GetString("Ecom:Product.ID") )" title="@product.GetString("Ecom:Product.Name")" itemprop="url">
42 <h3 itemprop="name">@product.GetString("Ecom:Product.Name")</h3>
43 <p itemprop="description">@product.GetString("Ecom:Product.ShortDescription")</p>
44 </a>
45 </li>
46 }
47 </ul>
48
<script id="js-e-handlebars-tmpl-productlist-products" type="text/x-handlebars-template">
<div class="e-products e-products-download mt-2">
<div class="e-loading-overlay e-products-loading-overlay js-e-products-loading-overlay is-loading">
<div class="e-loading-spinner"></div>
</div>
{{#if page.productCount}}
<div class="row">
{{#each products}}
<div class="@productlistItemClassList">
<div class="border-bottom e-block-link e-products-item js-e-block-link js-e-products-item js-e-products-item-{{id}} pb-0" style="cursor: auto;">
<div class="e-products-item-container">
<div class="e-products-item-image-container">
<img alt="" class="e-products-item-image" src="{{imageMedium}}">
</div>
<div class="e-products-item-text-container small">
<div class="px-1 mb-2">
<h3 class="e-products-item-name mb-0">{{name}}</h3>
{{#if floorCategoryName}}
<p>{{{floorCategoryName}}}</p>
{{/if}}
@* <p class="e-products-item-number small">{{number}}</p> *@
</div>
<form action="/system/data/cart-download" class="e-product-form e-product-form-addtocart js-e-product-form js-e-product-form-addtocart js-e-product-form-download mb-1 small px-1" method="post">
<input name="CartCmd" type="hidden" value="Add">
<input name="OrderContext" type="hidden" value="Download">
<input name="ProductID" type="hidden" value="{{id}}">
<input name="VariantID" type="hidden" value="">
<input name="Redirect" type="hidden" value="">
<input name="Quantity" type="hidden" value="1">
<button class="btn btn-tertiary btn-block" type="submit">
<i class="material-icons material-icons-large text-success">add</i>
@Translate( "eCom Download - Add To Cart - Button", "Add to downloads" )
</button>
</form>
<form action="/system/data/cart-download" class="e-product-form e-product-form-removefromcart js-e-product-form js-e-product-form-removefromcart js-e-product-form-download mb-1 small px-1" method="post">
<input name="CartCmd" type="hidden" value="delorderline">
<input name="OrderContext" type="hidden" value="Download">
<input name="key" type="hidden" value="">
<input name="ProductID" type="hidden" value="{{id}}">
<input name="Redirect" type="hidden" value="">
<button class="btn btn-tertiary btn-block" type="submit">
<i class="material-icons material-icons-large text-danger">remove</i>
@Translate( "eCom Download - Remove from Cart - Button", "Remove from downloads" )
</button>
</form>
</div>
</div>
</div>
</div>
{{/each}}
</div>
{{else}}
<div class="alert alert-warning mt-2" role="alert">
<strong><i class="material-icons material-icons-2x">sentiment_dissatisfied</i> @Translate( "eCom Productlist - Sorry - Text", "Sorry..")</strong>
<br> @Translate( "eCom Productlist - No Products - Text", "No products match your choices.")
</div>
{{/if}}
</div>
</script>
</div>
@if ( Espresso.Item.FooterShow == "True" )
49 {
50 <div class="align-items-end d-flex justify-content-between pt-1 small">
51 <div class="align-items-center d-flex e-products-price-info">
52 <span>@Translate( "eCom Productlist - Price Info - Text Public", "All prices are incl. VAT" )</span>
53 </div>
54
55 @if ( Espresso.Item.PagingShow == "True" )
56 {
57 <div class="align-items-center d-flex e-productlist-paging js-e-productlist-paging justify-content-between ml-auto">
58 <script id="js-e-handlebars-tmpl-productlist-paging" type="text/x-handlebars-template">
59 {{#if page.productCount}}
60 <span class="text-nowrap {{#compare page.totalPages '>' 1 }}mr-4{{/compare}}">
61 <strong>{{page.viewing.from}} - {{page.viewing.to}}</strong> @Translate( "eCom Productlist Paging - Product Count Of - Text", "of" )
62 <span> {{page.productCount}}</span>
63 </span>
64
65
66 <span class="">
67 {{#compare page.prevPage '!==' 0 }}
68 <a href="{{page.pagingUrl}}={{page.prevPage}}" class="text-auto text-uppercase text-nowrap text-decoration-none p-0 pl-1 mr-1 js-e-productlist-set-pagenum" data-page-num="{{page.prevPage}}">
69 <i class="material-icons">arrow_back</i>
70 <span class="">@Translate( "eCom Productlist Paging - Previous - Text", "Previous" )</span>
71 </a>
72 {{/compare}}
73
74 {{#compare page.nextPage '!==' 0 }}
75 <a href="{{page.pagingUrl}}={{page.nextPage}}" class="text-auto text-uppercase text-nowrap text-decoration-none p-0 pr-1 ml-1 js-e-productlist-set-pagenum" data-page-num="{{page.nextPage}}">
76 <span class="">@Translate( "eCom Productlist Paging - Next - Text", "Next" )</span>
77 <i class="material-icons">arrow_forward</i></a>
78 {{/compare}}
79
80 {{#compare page.pageSize '!==' 999}}
81 {{#compare page.totalPages '>' 1 }}
82 <a href="{{page.pagingUrl}}=9999" class="text-auto text-uppercase text-nowrap text-decoration-none p-0 pl-1 js-e-productlist-set-pagesize" data-page-size="999">
83 @Translate( "eCom Productlist Paging - Show All - Text", "Show all" )
84 </a>
85 {{/compare}}
86 {{/compare}}
87
88 {{#compare page.pageSize '===' 999}}
89 <a href="#" class="text-auto text-uppercase text-nowrap text-decoration-none p-0 pl-1 js-e-productlist-set-pagesize d-none" data-page-size="@Espresso.Item.Pagesize">
90 @Translate( "eCom Productlist Paging - Reset - Link", "Reset" )
91 </a>
92 {{/compare}}
93
94 <span>
95 {{/if}}
96 </script>
97 </div>
98
99 }
100 </div>
101 }
102
</div>
<div class="@productlistAsideClassList">
<form class="js-e-productlist-form">
@{
103 string pageUrl = GetGlobalValue( "Global:Pageview.Url" );
104 string sortBy = string.IsNullOrEmpty( HttpContext.Current.Request[ "SortBy" ] ) ? GetString( "Ecom:ProductList.SortBy" ) : HttpContext.Current.Request[ "SortBy" ];
105 if ( sortBy == "Name" || sortBy == "Price" )
106 {
107 sortBy = "Sort" + sortBy;
108 }
109 else if ( sortBy == "UserDefined" )
110 {
111 sortBy = "PrimaryGroupSort";
112 }
113 string sortOrder = string.IsNullOrEmpty( HttpContext.Current.Request[ "SortOrder" ] ) ? GetString( "Ecom:ProductList.SortOrder" ) : HttpContext.Current.Request[ "SortOrder" ];
114 string pageSize = string.IsNullOrEmpty( HttpContext.Current.Request[ "PageSize" ] ) ? GetString( "Ecom:ProductList.PageSize" ) : HttpContext.Current.Request[ "PageSize" ];
115 string pageNum = string.IsNullOrEmpty( HttpContext.Current.Request[ "PageNum" ] ) ? GetString( "Ecom:ProductList.CurrentPage" ) : HttpContext.Current.Request[ "PageNum" ];
116 }
117 <input type="hidden" name="ID" value="@Espresso.Page.ID">
118 <input type="hidden" name="PageNum" value="@HttpUtility.HtmlAttributeEncode( pageNum )">
119 <input type="hidden" name="PageUrl" value="@HttpUtility.HtmlAttributeEncode( pageUrl )">
120 <input type="hidden" name="SortBy" value="@HttpUtility.HtmlAttributeEncode( sortBy )">
121 <input type="hidden" name="SortOrder" value="@HttpUtility.HtmlAttributeEncode( sortOrder )">
122 <input type="hidden" name="PageSize" value="@HttpUtility.HtmlAttributeEncode( pageSize )">
123
124 @if ( Espresso.Item.FiltersShow == "True" )
125 {
126 foreach ( LoopItem facetGroup in GetLoop( "FacetGroups" ) )
127 {
128 <input type="hidden" name="fg" value="@facetGroup.GetString( "FacetGroup.Name" )">
129 }
130 <input type="hidden" class="js-e-visible-options-count" value="@Espresso.Item.FiltersVisibleOptionCount">
131 }
132 @foreach ( LoopItem query in GetLoop( "Query.Parameters" ) )
133 {
134 if ( string.IsNullOrEmpty( query.GetString( "Parameter.Value" ) ) == false )
135 {
136 if ( query.GetBoolean( "Parameter.IsHandledAsFacet" ) == false && query.GetString( "Parameter.Name" ) != "q" )
137 {
138 <input type="hidden" name="@query.GetString( "Parameter.Name" )" value="@query.GetString( "Parameter.Value" )">
139 }
140 }
141 }
142
<div id="js-e-productlist-filters-@(paragraphId)" class="d-lg-block d-none">
143 <script id="js-e-handlebars-tmpl-productlist-filters-@(paragraphId)" type="text/x-handlebars-template">
144 {{#if page.filtersAppliedCount}}
145 <div class="e-productlist-filters-group e-productlist-filters-group-summery">
146 <p class="e-productlist-filters-group-header small mb-0">
147 <span class="e-productlist-filters-group-name h4 m-0 pl-0">@Translate( "eCom Productlist Filters - Selected - Text", "Selected filters" )</span>
148 <button type="button" class="btn btn-sm btn-link py-1 px-0 js-e-productlist-filters-clear-all">@Translate( "eCom Productlist Filter - Group Reset - Button", "Reset" )</button>
149 </p>
150 <div class="e-productlist-filters-group-options-selected small mb-2">
151 {{#each facets}}
152 {{#if selectedOptions.length}}
153 {{#each selectedOptions}}
154 <a class="e-productlist-filters-option-selected js-e-productlist-filters-remove d-flex align-items-center text-decoration-none mb-1" href="#" data-value="{{value}}">
155 <i class="material-icons material-icons-fixed text-danger mr-1">add_circle</i>
156 <span>{{../name}}: {{label}}</span>
157 </a>
158 {{/each}}
159 {{/if}}
160 {{/each}}
161 {{#if page.q}}
162 <a class="e-productlist-filters-option-selected d-flex align-items-center text-decoration-none mb-1 js-e-productlist-filters-search-clear" href="#">
163 <i class="material-icons material-icons-fixed text-danger mr-1">add_circle</i>
164 <span>@Translate( "eCom Productlist Filters - Search - Text", "Search" ): {{page.q}}</span>
165 </a>
166 {{/if}}
167 {{#compare page.minPrice.clean '&&' page.maxPrice.clean}}
168 <a class="e-productlist-filters-option-selected d-flex align-items-center text-decoration-none mb-1 js-e-productlist-filters-range-clear" href="#" data-group-id="js-e-productlist-filters-range-group-price">
169 <i class="material-icons material-icons-fixed text-danger mr-1">add_circle</i>
170 <span>@Translate( "eCom Productlist Filters - Price - Heading", "Price" ): {{{page.minPrice.formatted}}} - {{{page.maxPrice.formatted}}}</span>
171 </a>
172 {{/compare}}
173 </div>
174 </div>
175 {{/if}}
176 @if ( Espresso.Item.NavigationShow == "True" )
177 {
178 <div class="e-productlist-filters-group js-e-productlist-filters-group">
179 <p class="e-productlist-filters-group-header small mb-0">
180 <a class="e-productlist-filters-group-collapse-toggle text-black" data-toggle="collapse" data-target="#e-productlist-filters-group-navigation-@(paragraphId)">
181 <i class="material-icons material-icons-fixed">arrow_drop_down</i>
182 <span class="e-productlist-filters-group-name h4 m-0">
183 @Espresso.Item.NavigationHeading
184 </span>
185 </a>
186 </p>
187 <fieldset id="e-productlist-filters-group-navigation-@(paragraphId)" class="e-productlist-filters-group-options mb-2 small collapse show">
188 <div class="e-nav-local e-nav-local-vertical">
189 <nav class="e-nav-local-container">
190 <ul class="nav flex-column">
191 @RenderNavigation( new
192 {
193 id = "dwnav-local-" + Espresso.Id,
194 parentid = string.IsNullOrEmpty( Espresso.Item.NavigationParentPage ) == false ? Espresso.Item.NavigationParentPage : Espresso.Page.ID,
195 template = "local-vertical.xslt",
196 startlevel = Espresso.Item.NavigationLevelStart,
197 endlevel = Espresso.Item.NavigationLevelEnd,
198 expandmode = "path"
199 } )
200 </ul>
201 </nav>
202 </div>
203 </fieldset>
204 </div>
205 }
206 @if ( Espresso.Item.SearchShow == "True" )
207 {
208 <div class="e-productlist-filters-group js-e-productlist-filters-group">
209 <p class="e-productlist-filters-group-header small mb-0">
210 <a class="e-productlist-filters-group-collapse-toggle {{#unless page.q}}collapsed{{/unless}}" data-toggle="collapse" data-target="#e-productlist-filters-group-search-@(paragraphId)">
211 <i class="material-icons material-icons-fixed">arrow_drop_down</i>
212 <span class="e-productlist-filters-group-name h4 m-0">@Translate( "eCom Productlist Filters - Search - Heading", "Search" )</span>
213 </a>
214 {{#if page.q}}
215 <button type="button" class="btn btn-sm btn-link py-1 px-0 js-e-productlist-filters-search-clear">
216 @Translate( "eCom Productlist Filter - Group Reset - Button", "Reset" )
217 </button>
218 {{/if}}
219 </p>
220 <fieldset id="e-productlist-filters-group-search-@(paragraphId)" class="e-productlist-filters-group-options mb-2 small collapse show">
221 <div class="js-e-search-input-group e-search-input-group {{#unless page.q}}is-empty{{/unless}}">
222 <label class="e-search-label" for="filter_search_@(paragraphId)"><i class="material-icons">search</i></label>
223 <input type="text" class="js-e-search-input e-search-input e-productlist-filters-search-input form-control-plaintext" name="q" id="filter_search_@(paragraphId)" value="{{page.q}}">
224 <span class="js-e-search-clear e-search-clear"><i class="material-icons">close</i></span>
225 <button class="d-none e-search-submit btn btn-primary js-e-productlist-filters-search-submit" type="button"><i class="material-icons pa-0">search</i></button>
226 </div>
227 </fieldset>
228 </div>
229 }
230
231 {{#each facets}}
232 {{#compare count '>' 0}}
233 <div class="e-productlist-filters-group js-e-productlist-filters-group">
234 <p class="e-productlist-filters-group-header small mb-0">
235 <a class="e-productlist-filters-group-collapse-toggle {{#unless selectedOptions.length }}{{#compare @@first '&&' @@root.page.hasNoInteraction}}{{else}}collapsed{{/compare}}{{/unless}}" data-toggle="collapse" data-target="#e-productlist-filters-group-{{param}}-@(paragraphId)">
236 <i class="material-icons material-icons-fixed">arrow_drop_down</i>
237 <span class="e-productlist-filters-group-name h4 m-0">{{label}}</span>
238 </a>
239 {{#if selectedOptions.length}}
240 <label for="reset-filter-{{param}}-@(paragraphId)" class="btn btn-sm btn-link py-1 px-0 m-0">
241 @Translate( "eCom Productlist Filter - Group Reset - Label", "Reset" )
242 </label>
243 {{/if}}
244 </p>
245 <fieldset id="e-productlist-filters-group-{{param}}-@(paragraphId)" class="e-productlist-filters-group-options js-e-productlist-filters-group-options mb-2 small collapse {{#if selectedOptions.length }}is-expanded{{else}}{{#compare @@first '&&' @@root.page.hasNoInteraction}}is-expanded{{/compare}}{{/if}}">
246 <div class="{{#compare count '>' @Espresso.Item.FiltersVisibleOptionCount }}js-e-productlist-filters-options-collapse-peek e-productlist-filters-options-collapse-peek is-peeking{{/compare}}">
247 <div class="e-productlist-filters-option js-e-productlist-filters-option">
248 <label for="reset-filter-{{param}}-@(paragraphId)" class="custom-control custom-checkbox">
249 <input class="js-e-productlist-filters-option-reset-group custom-control-input" name="reset-filter-{{param}}-@(paragraphId)" id="reset-filter-{{param}}-@(paragraphId)" type="checkbox" value="true" {{#compare isCleared '||' isEmpty}}checked{{/compare}}>
250 <span class="custom-control-indicator"></span>
251 <span class="custom-control-description">@Translate( "eCom Productlist Filter - Options View All - Label", "All" )</span>
252 </label>
253 </div>
254 {{#each options}}
255 <div class="e-productlist-filters-option js-e-productlist-filters-option {{#if isSelected}}is-selected{{/if}} {{#if isDisabled}}is-disabled text-muted{{/if}}">
256 <label for="{{id}}-@(paragraphId)" class="custom-control custom-checkbox">
257 <input id="{{id}}-@(paragraphId)" name="{{param}}" class="js-e-productlist-filter custom-control-input" type="checkbox" value="{{value}}" {{#if isSelected}}checked{{/if}} {{#if isDisabled}}disabled{{/if}}>
258 <span class="custom-control-indicator"></span>
259 <span class="custom-control-description">{{label}} <span class="e-productlist-filters-option-count small text-muted">({{count}})</span></span>
260 </label>
261 </div>
262 {{/each}}
263 {{#compare count '>' @Espresso.Item.FiltersVisibleOptionCount }}
264 <a href="#" class="js-e-productlist-filters-options-collapse-peek-toggle e-productlist-filters-options-collapse-peek-toggle" data-closed-text="@Translate( "eCom Productlist Filter - Options Show More - Link", "Show more" )" data-open-text="@Translate( "eCom Productlist Filter - Options Show Less - Link", "Show less" )"><i class="material-icons material-icons-fixed">keyboard_arrow_down</i></a>
265 {{/compare}}
266 </div>
267 </fieldset>
268 </div>
269 {{/compare}}
270 {{/each}}
271 @if ( Espresso.Item.PriceRangeShow == "True" )
272 {
273 <div class="e-productlist-filters-group js-e-productlist-filters-group">
274 <p class="e-productlist-filters-group-header small mb-0">
275 <a class="e-productlist-filters-group-collapse-toggle {{#compare page.minPrice.clean '!!' page.maxPrice.clean}}collapsed{{/compare}}" data-toggle="collapse" data-target="#e-productlist-filters-group-pricerange-@(paragraphId)">
276 <i class="material-icons material-icons-fixed">arrow_drop_down</i>
277 <span class="e-productlist-filters-group-name h4 m-0">@Translate( "eCom Productlist Filters - Price Range - Heading", "Price" )</span>
278 </a>
279 {{#compare page.minPrice.clean '||' page.maxPrice.clean}}
280 <button type="button" class="btn btn-sm btn-link py-1 px-0 js-e-productlist-filters-range-clear">
281 @Translate( "eCom Productlist Filter - Group Reset - Button", "Reset" )
282 </button>
283 {{/compare}}
284 </p>
285 <fieldset id="e-productlist-filters-group-pricerange-@(paragraphId)" class="e-productlist-filters-group-options mb-2 small collapse {{#compare page.minPrice.clean '||' page.maxPrice.clean}}show{{/compare}}">
286 <div id="js-e-productlist-filters-range-group-price-@(paragraphId)" class="row align-items-center mt-1 e-productlist-filters-range-group js-e-productlist-filters-range-group">
287 <div class="col-12 col-lg-4 mb-1 mb-lg-0">
288 <input type="text" class="form-control js-e-productlist-filters-range js-e-productlist-filters-range-min" name="PriceRangeMin" id="PriceRangeMin-@(paragraphId)" value="{{page.minPrice.clean}}" placeholder="@Translate( "eCom Productlist Filters - Price Min - Text", "From" )" min="0">
289 </div>
290 <div class="col-12 col-lg-4 mb-1 mb-lg-0">
291 <input type="text" class="form-control js-e-productlist-filters-range js-e-productlist-filters-range-max" name="PriceRangeMax" id="PriceRangeMax-@(paragraphId)" value="{{page.maxPrice.clean}}" placeholder="@Translate( "eCom Productlist Filters - Price Max - Text", "To" )" data-msg-rangeValid="@Translate( "eCom Productlist Filters - Price Error - Msg", "Prices entered incorrectly" )">
292 </div>
293 <div class="col-12 col-lg-3">
294 <button type="button" class="btn btn-primary px-0 btn-sm btn-block e-productlist-filters-apply-range js-e-productlist-filters-apply-range"><i class="material-icons">sync</i></button>
295 </div>
296 </div>
297 </fieldset>
298 </div>
299 }
300 </div>
301 </script>
302 </div>
303
<div class="e-productlist-filters-modal fade modal modal-fullscreen" data-backdrop="false" id="js-e-productlist-filters-modal">
304 <div class="modal-dialog">
305 <div class="modal-content">
306 <div class="modal-header">
307 <h3 class="modal-title">
308 <i class="material-icons material-icons-large">tune</i>
309 @Translate( "eCom Productlist Filters - Customize Selection - Heading", "Filter products" )
310 </h3>
311 <button class="close" data-dismiss="modal" type="button">
312 <i class="material-icons">close</i>
313 </button>
314 </div>
315 <div class="modal-body pt-0">
316 <div id="js-e-productlist-filters-modal-body" class="d-flex flex-column">
317
318 </div>
319 </div>
320 <div class="modal-footer bg-info border-top-0">
321 <button class="btn btn-primary btn-block" data-dismiss="modal" type="button">@Translate( "eCom Productlist Filters - Customize Selection Apply - Button", "Show results" )</button>
322 </div>
323 </div>
324 </div>
325 </div>
326
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
@sectionStart()