summaryrefslogtreecommitdiff
path: root/views/mods/mod_orderupload/smartcheckout_row.phtml
diff options
context:
space:
mode:
authordaniel <noreply@maennchen1.de>2026-09-24 11:24:12 +0200
committerdaniel <noreply@maennchen1.de>2026-09-24 11:24:12 +0200
commita95de0fa4cd3c617ef08a9679a6c32ae5f676fda (patch)
treeb78bd9fa23550e7dfd03cc693032cce5e9048236 /views/mods/mod_orderupload/smartcheckout_row.phtml
parent19a8938fa3b41a6c6ed1e15c20586f860f4a637b (diff)
- Feature: PHP 8.3 Kompatibilität
- Feature: SmartCheckout - Ersatz für EinSeitenCheckout - Feature: Optik im Frontend an moderne Themes angepasst
Diffstat (limited to 'views/mods/mod_orderupload/smartcheckout_row.phtml')
-rw-r--r--views/mods/mod_orderupload/smartcheckout_row.phtml21
1 files changed, 21 insertions, 0 deletions
diff --git a/views/mods/mod_orderupload/smartcheckout_row.phtml b/views/mods/mod_orderupload/smartcheckout_row.phtml
new file mode 100644
index 0000000..66986f9
--- /dev/null
+++ b/views/mods/mod_orderupload/smartcheckout_row.phtml
@@ -0,0 +1,21 @@
+<?php
+
+ /**
+ * Template für den Upload zum Produkt an einer Warenkorbposition im SmartCheckout
+ *
+ * Das Ziel trägt dieselbe ID wie im klassischen Warenkorb, die Scripte aus basket_after.phtml
+ * ersetzen seinen Inhalt nach dem Hochladen bzw. Löschen.
+ */
+
+ $product_index = $this->view['wpsg_mod_orderupload']['product_index'];
+
+?>
+<div class="sc_upload">
+
+ <div class="sc_upload_label"><?php echo esc_html__('Upload zum Produkt', 'wpsg'); ?></div>
+
+ <div id="wpsg_mod_orderupload_<?php echo intval($product_index); ?>_target" class="wpsg_mod_orderupload_target sc_upload_target">
+ <?php echo $this->view['wpsg_mod_orderupload']['strHTMLTarget']; ?>
+ </div>
+
+</div>