From 23438e6a4830ed41bd1d62bb19f9ad19aa249f5d Mon Sep 17 00:00:00 2001 From: hartmut Date: Mon, 20 Mar 2017 12:53:13 +0000 Subject: Onepage-Checkout angepasst git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6142 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/mods/mod_creditcard/paymenthint.phtml | 2 +- views/mods/mod_onepagecheckout/onepage.phtml | 10 +- views/mods/mod_productvariants/produkt.phtml | 211 +++++++++++++++++++++++++++ views/order/index.phtml | 2 +- 4 files changed, 218 insertions(+), 7 deletions(-) create mode 100644 views/mods/mod_productvariants/produkt.phtml (limited to 'views') diff --git a/views/mods/mod_creditcard/paymenthint.phtml b/views/mods/mod_creditcard/paymenthint.phtml index d9cbbf2..c5882bc 100644 --- a/views/mods/mod_creditcard/paymenthint.phtml +++ b/views/mods/mod_creditcard/paymenthint.phtml @@ -53,7 +53,7 @@
@@ -213,7 +213,7 @@ - view['error']))?'wpsg_error':''); ?>" type="text" id="wpsg_ustidnr" name="wpsg[checkout][ustidnr]" value="view['basket']['checkout']['ustidnr']); ?>" /> + view['error']))?'wpsg_error':''); ?>" type="text" id="wpsg_ustidnr" name="wpsg[checkout][ustidnr]" value="view['basket']['checkout']['ustidnr'])); ?>" /> diff --git a/views/mods/mod_productvariants/produkt.phtml b/views/mods/mod_productvariants/produkt.phtml new file mode 100644 index 0000000..32b4c5c --- /dev/null +++ b/views/mods/mod_productvariants/produkt.phtml @@ -0,0 +1,211 @@ + + + + +view['data']['vp_data']) && sizeof($this->view['data']['vp_data']) > 0) { ?> + + view['data']['vp_data'] as $k => $var) { + + if ($var['active'] == "0") { + + $vAktiv = true; ?> + +
+ + + + + + + + + +
+ + + + + + + + hasMod('wpsg_mod_produktbilder')) { ?> +
+ + $vari) { + if ($vari['aktiv'] == '1' && (!$this->hasMod('wpsg_mod_stock') || $vari['stock'] > 0)) { ?> + callMod('wpsg_mod_varianten', 'getImageSelectImage', array($this->getProduktId($this->view['data']['id']), $k, $kv, $this->view['data']['product_key'])); ?> + + + + + + + +
+ + + + + $vari) { if ($vari['aktiv'] == "1") { $j ++; ?> + hasMod('wpsg_mod_stock') || $vari['stock'] > 0 || $this->get_option('wpsg_mod_vp_showProduct') === '1') { ?> + + + + + + + + + + +
+ +
+
+ + + view['data']['vp_data'] as $k => $var) */ ?> + \ No newline at end of file diff --git a/views/order/index.phtml b/views/order/index.phtml index add65fc..5bb3d1d 100644 --- a/views/order/index.phtml +++ b/views/order/index.phtml @@ -38,7 +38,7 @@
-
+ -- cgit v1.2.3