1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,24 @@ |
1 |
+<?php if ($this->name == 'toggle_favorites'): ?> |
|
2 |
+ <button class="btn text-primary fs-24px btn-blank <?= $this->classes ?>" type="submit" name="<?= $this->name ?>" > |
|
3 |
+ <?php if(str_contains($this->classes,'active')):?> |
|
4 |
+ <i class="ico ico-herz_filled"></i> |
|
5 |
+ <?php else:?> |
|
6 |
+ <i class="ico ico-herz"></i> |
|
7 |
+ <?php endif;?> |
|
8 |
+ |
|
9 |
+ <!--<?= $this->label ?>--> |
|
10 |
+ </button> |
|
11 |
+ |
|
12 |
+<?php elseif ($this->name == 'add_to_cart'): ?> |
|
13 |
+ <button class="btn btn-outline-primary btn-lg <?= $this->name ?> <?= $this->classes ?>" type="submit" name="<?= $this->name ?>"> |
|
14 |
+ <!--<?= $this->label ?>--><i class="ico ico-einkaufswagen"></i> In Warenkorb |
|
15 |
+ </button> |
|
16 |
+<?php elseif ($this->name == 'button_add_to_cart'): ?> |
|
17 |
+ <button class="btn btn-outline-primary btn-lg <?= $this->name ?> <?= $this->classes ?>" type="submit" name="<?= $this->name ?>"> |
|
18 |
+ <!--<?= $this->label ?>--><i class="ico ico-einkaufswagen"></i> In den Warenkorb übernehmen |
|
19 |
+ </button> |
|
20 |
+ |
|
21 |
+<?php else: ?> |
|
22 |
+ <input type="submit" name="<?= $this->name ?>" class="submit <?= $this->name ?> <?= $this->classes ?>" |
|
23 |
+ value="<?= $this->label ?>"> |
|
24 |
+<?php endif; ?> |