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