Browse code

Update remote

Benjamin Roth authored on29/03/2023 11:42:08
Showing1 changed files
... ...
@@ -42,12 +42,13 @@ use Isotope\Isotope;
42 42
                             <div class="price h1" itemprop="price"
43 43
                                  content="<?= Isotope::roundPrice($price->getAmount(1, $this->product->getOptions())) ?>"><?= $this->generatePrice(); ?></div>
44 44
 
45
+                            <p class="fw-bold mb-0"><?php echo $this->generateAttribute('karton'); ?> x <?php echo rtrim(rtrim(\System::getFormattedNumber($this->generateAttribute('flascheninhalt'),3),'0'),','); ?> l</p>
45 46
                             <?php if ($this->generateAttribute('baseprice')): ?>
46 47
                                 <div class="baseprice">(<?= $this->generateAttribute('baseprice'); ?>)</div>
47 48
                             <?php endif; ?>
48
-                            <span class="tax-note">
49
+                            <div class="tax-note mt-1">
49 50
                     Preis inkl. MwSt., zzgl. Versandkosten
50
-                </span>
51
+                </div>
51 52
                         </div>
52 53
                     <?php endif; ?>
53 54
 
Browse code

Update remote

Benjamin Roth authored on24/03/2023 11:24:53
Showing1 changed files
... ...
@@ -20,10 +20,10 @@ use Isotope\Isotope;
20 20
                 <div class="content_container ">
21 21
                     <div class="product--title">
22 22
                         <h3 itemprop="name">
23
-                            <?php if ($this->href): ?>
24
-                            <a href="<?= $this->href; ?>"
25
-                               title="<?= $this->label_detail; ?>"><?php endif; ?><?= $this->highlightKeywords($this->generateAttribute('name')); ?><?php if ($this->href): ?></a>
26
-                        <?php endif; ?>
23
+                            <?php if ($this->href): ?><a href="<?= $this->href; ?>" title="<?= $this->label_detail; ?>"><?php endif; ?>
24
+                                <?= $this->highlightKeywords($this->generateAttribute('name')); ?>
25
+                                <span class="attributes"><?= $this->qualitaet ? $this->generateAttribute('qualitaet') : null; ?> <?= $this->geschmack ? $this->generateAttribute('geschmack') : null; ?></span>
26
+                            <?php if ($this->href): ?></a><?php endif; ?>
27 27
                         </h3>
28 28
                     </div>
29 29
 
Browse code

Initial commit

Benjamin Roth authored on16/03/2023 20:22:35
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,94 @@
1
+<?php
2
+
3
+use Isotope\Interfaces\IsotopePrice;
4
+use Isotope\Isotope;
5
+
6
+?>
7
+<div class="iso--product-box variant-v2" data-aos="animate__fadeInUp">
8
+
9
+    <form id="<?= $this->formId; ?>" name="iso<?= rand(); ?>" method="post" enctype="<?= $this->enctype; ?>">
10
+        <div class="formbody gy-0 row" itemscope itemtype="http://schema.org/Product">
11
+            <input type="hidden" name="FORM_SUBMIT" value="<?= $this->formSubmit; ?>">
12
+            <input type="hidden" name="REQUEST_TOKEN" value="{{request_token}}">
13
+            <input type="hidden" name="AJAX_PRODUCT" value="<?= $this->product_id; ?>">
14
+            <input type="hidden" name="AJAX_MODULE" value="<?= $this->module_id; ?>">
15
+
16
+            <div class="col-12">
17
+                <?= $this->getGallery('images')->generateMainImage(); ?>
18
+            </div>
19
+            <div class="col-12">
20
+                <div class="content_container ">
21
+                    <div class="product--title">
22
+                        <h3 itemprop="name">
23
+                            <?php if ($this->href): ?>
24
+                            <a href="<?= $this->href; ?>"
25
+                               title="<?= $this->label_detail; ?>"><?php endif; ?><?= $this->highlightKeywords($this->generateAttribute('name')); ?><?php if ($this->href): ?></a>
26
+                        <?php endif; ?>
27
+                        </h3>
28
+                    </div>
29
+
30
+                    <?php if ($this->sku): ?>
31
+                        <!-- <div class="sku" itemprop="sku"><?= $this->generateAttribute('sku'); ?></div> -->
32
+                    <?php endif; ?>
33
+
34
+                    <?php if ($this->teaser): ?>
35
+                        <div class="teaser"><?= $this->highlightKeywords($this->generateAttribute('teaser')); ?></div>
36
+                    <?php endif; ?>
37
+
38
+                    <?php /* @var IsotopePrice $price */
39
+                    if ($price = $this->product->getPrice()): ?>
40
+                        <div class="offer" itemprop="offers" itemscope itemtype="http://schema.org/Offer">
41
+                            <meta itemprop="priceCurrency" content="<?= Isotope::getConfig()->currency ?>">
42
+                            <div class="price h1" itemprop="price"
43
+                                 content="<?= Isotope::roundPrice($price->getAmount(1, $this->product->getOptions())) ?>"><?= $this->generatePrice(); ?></div>
44
+
45
+                            <?php if ($this->generateAttribute('baseprice')): ?>
46
+                                <div class="baseprice">(<?= $this->generateAttribute('baseprice'); ?>)</div>
47
+                            <?php endif; ?>
48
+                            <span class="tax-note">
49
+                    Preis inkl. MwSt., zzgl. Versandkosten
50
+                </span>
51
+                        </div>
52
+                    <?php endif; ?>
53
+
54
+
55
+                    <?php if ($this->href): ?>
56
+                        <!--
57
+            <div class="details">
58
+                <a href="<?= $this->href; ?>" title="<?= $this->label_detail; ?>"><?= $this->label_detail; ?></a>
59
+            </div>
60
+         -->
61
+                    <?php endif; ?>
62
+                </div>
63
+            </div>
64
+
65
+            <?php if ($this->actions): ?>
66
+                <div class=" col-12">
67
+                    <div class="button_container">
68
+                        <?php if ($this->hasOptions): ?>
69
+                            <div class="options">
70
+                                          <div class="form-body">
71
+                                <?php foreach ($this->options as $arrOption): echo $arrOption['html']; endforeach; ?>
72
+                                          </div>
73
+                            </div>
74
+                        <?php endif; ?>
75
+                        <?php if ($this->useQuantity): ?>
76
+                            <div class="quantity_container">
77
+                                <label for="quantity_requested_<?= $this->raw['id']; ?>"><?= $GLOBALS['TL_LANG']['MSC']['quantity']; ?>
78
+                                    :</label> <input type="text" class="text"
79
+                                                     id="quantity_requested_<?= $this->raw['id']; ?>"
80
+                                                     name="quantity_requested"
81
+                                                     placeholder="<?= $this->minimum_quantity; ?>"
82
+                                                     maxlength="10">
83
+                            </div>
84
+                        <?php endif; ?>
85
+                        <?php foreach ($this->actions as $action) echo $action->generate($this->product); ?>
86
+                    </div>
87
+                </div>
88
+            <?php endif; ?>
89
+        </div>
90
+    </form>
91
+</div>
92
+
93
+
94
+