1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,104 @@ |
1 |
+<form action="<?php echo $this->action; ?>" id="<?php echo $this->formId; ?>" name="iso<?php echo rand(); ?>" method="post" enctype="<?php echo $this->enctype; ?>"> |
|
2 |
+ <div class="iso--product-reader variant-v1 formbody" itemscope itemtype="http://schema.org/Product"> |
|
3 |
+ <input type="hidden" name="FORM_SUBMIT" value="<?php echo $this->formSubmit; ?>"> |
|
4 |
+ <input type="hidden" name="REQUEST_TOKEN" value="{{request_token}}"> |
|
5 |
+ <input type="hidden" name="AJAX_PRODUCT" value="<?php echo $this->product_id; ?>"> |
|
6 |
+ <input type="hidden" name="AJAX_MODULE" value="<?php echo $this->module_id; ?>"> |
|
7 |
+ |
|
8 |
+ |
|
9 |
+ <div class="row"> |
|
10 |
+ <div class="col-12 col-lg-6 image--col"> |
|
11 |
+ <div class="image-col--inner"> |
|
12 |
+ <div class="product--main-image"> |
|
13 |
+ <?php echo $this->getGallery('images')->generateMainImage(); ?> |
|
14 |
+ </div> |
|
15 |
+ <div class="product--thumbnails"> |
|
16 |
+ <?php echo $this->getGallery('images')->generateGallery(); ?> |
|
17 |
+ </div> |
|
18 |
+ </div> |
|
19 |
+ </div> |
|
20 |
+ |
|
21 |
+ <div class="col-12 col-lg-6 content--col"> |
|
22 |
+ <div class="content-col--inner"> |
|
23 |
+ |
|
24 |
+ <div class="content--section content--section-1"> |
|
25 |
+ <h1 itemprop="name"><?php echo $this->generateAttribute('name'); ?></h1> |
|
26 |
+ |
|
27 |
+ <?php /* @var \Isotope\Interfaces\IsotopePrice $price */ |
|
28 |
+ if ($price = $this->product->getPrice()) : ?> |
|
29 |
+ <div class="offer" itemprop="offers" itemscope itemtype="http://schema.org/Offer"> |
|
30 |
+ <meta itemprop="priceCurrency" content="<?= \Isotope\Isotope::getConfig()->currency ?>"> |
|
31 |
+ <div class="price" itemprop="price" content="<?= \Isotope\Isotope::roundPrice($price->getAmount(1, $this->product->getOptions())) ?>"> |
|
32 |
+ <?php echo $this->generatePrice(); ?> |
|
33 |
+ </div> |
|
34 |
+ </div> |
|
35 |
+ <?php endif; ?> |
|
36 |
+ |
|
37 |
+ |
|
38 |
+ <div class="item--short-informations"> |
|
39 |
+ <?php if ($this->baseprice) : ?> |
|
40 |
+ <span class="baseprice"><?php echo $this->generateAttribute('baseprice'); ?></span> |
|
41 |
+ <?php endif; ?> |
|
42 |
+ <?php if ($this->baseprice && $this->sku) : ?> |
|
43 |
+ <span>|</span> |
|
44 |
+ <?php endif; ?> |
|
45 |
+ <?php if ($this->sku) : ?> |
|
46 |
+ <span class="sku" itemprop="sku"><?php echo $this->generateAttribute('sku'); ?></span> |
|
47 |
+ <?php endif; ?> |
|
48 |
+ </div> |
|
49 |
+ |
|
50 |
+ |
|
51 |
+ <div class="tax-note"> |
|
52 |
+ <a href="{{link_url::50}}">inkl. MwSt., zzgl. Versandkosten</a> |
|
53 |
+ </div> |
|
54 |
+ |
|
55 |
+ |
|
56 |
+ <?php if ($this->hasOptions) : ?> |
|
57 |
+ <div class="options"> |
|
58 |
+ <div class="form-body"> |
|
59 |
+ <?php foreach ($this->options as $arrOption) : echo $arrOption['html']; |
|
60 |
+ endforeach; ?> |
|
61 |
+ </div> |
|
62 |
+ </div> |
|
63 |
+ <?php endif; ?> |
|
64 |
+ |
|
65 |
+ <?php if ($this->actions) : ?> |
|
66 |
+ <div class="submit_container"> |
|
67 |
+ |
|
68 |
+ <div class="d-flex w-100"> |
|
69 |
+ <?php if ($this->useQuantity) : ?> |
|
70 |
+ <div class="quantity_container"> |
|
71 |
+ <input type="text" class="form-control text" id="quantity_requested_<?php echo $this->raw['id']; ?>" name="quantity_requested" placeholder="<?php echo $this->minimum_quantity; ?>" value="<?php if (specialchars(Input::post('quantity_requested'))) { |
|
72 |
+ echo specialchars(Input::post('quantity_requested')); |
|
73 |
+ } else { |
|
74 |
+ echo "1"; |
|
75 |
+ } ?>" maxlength="10"> |
|
76 |
+ <label for="quantity_requested_<?php echo $this->raw['id']; ?>">Stück</label> |
|
77 |
+ </div> |
|
78 |
+ <?php endif; ?> |
|
79 |
+ <div class="actions_container"> |
|
80 |
+ <?php foreach ($this->actions as $action) echo $action->generate($this->product); ?> |
|
81 |
+ </div> |
|
82 |
+ </div> |
|
83 |
+ |
|
84 |
+ </div> |
|
85 |
+ <?php endif; ?> |
|
86 |
+ </div> |
|
87 |
+ |
|
88 |
+ <?php if ($this->description) : ?> |
|
89 |
+ <div class="content--section content--section-2"> |
|
90 |
+ |
|
91 |
+ <span class="h3 text-center">Beschreibung</span> |
|
92 |
+ |
|
93 |
+ <div class="description" itemprop="description"><?php echo $this->generateAttribute('description'); ?></div> |
|
94 |
+ </div> |
|
95 |
+ <?php endif; ?> |
|
96 |
+ |
|
97 |
+ |
|
98 |
+ </div> |
|
99 |
+ |
|
100 |
+ </div> |
|
101 |
+ </div> |
|
102 |
+ |
|
103 |
+ </div> |
|
104 |
+</form> |
|
0 | 105 |
\ No newline at end of file |