From 9331b5c806eb844f456fd1419186a4f9f69c249b Mon Sep 17 00:00:00 2001 From: hartmut Date: Wed, 14 Jun 2017 09:37:26 +0000 Subject: Basket responsive git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6330 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/css/frontend.css | 44 +- views/mods/mod_abo/basket_row.phtml | 20 +- views/mods/mod_basketteaser/basket_row.phtml | 31 +- views/mods/mod_deliverytime/basket_row.phtml | 31 +- views/mods/mod_gutschein/basket_row_end.phtml | 18 +- views/mods/mod_productvariants/basket_row.phtml | 19 +- views/mods/mod_productvars/basket_row.phtml | 21 +- views/mods/mod_produktattribute/basket_row.phtml | 20 +- views/mods/mod_weight/basket_row.phtml | 17 +- views/mods/mod_weight/basket_row_end.phtml | 15 +- views/warenkorb/basket.phtml | 497 ++++++++++++----------- 11 files changed, 426 insertions(+), 307 deletions(-) (limited to 'views') diff --git a/views/css/frontend.css b/views/css/frontend.css index 9ec60ef..6ec4044 100644 --- a/views/css/frontend.css +++ b/views/css/frontend.css @@ -31,8 +31,42 @@ input.wpsg_error { border-color:red !important; } .basket_product_wrap .basket_product_row .productimage { max-width:150px; padding-right:0.75em; } .basket_product_wrap .basket_product_row .product_content { width:100%; display:flex; flex-direction:column; justify-content:space-between; } .basket_product_wrap .basket_product_row .product_action { display:flex; width:100%; justify-content:space-between; align-items:center; } -.basket_product_wrap .basket_product_row .product_action .amount { margin-top:0.5em; margin-bottom:0.5em; } -.basket_product_wrap .basket_product_row .product_action .price_total { font-weight:bold; } +.basket_product_wrap .basket_product_row .product_action .amount { width:80px; margin-top:0.5em; margin-bottom:0.5em; text-align:center;} +.basket_product_wrap .basket_product_row .product_action .title { width: 60%; display:inline-block; margin-top:0.3em; margin-bottom:0.3em; } +.basket_product_wrap .basket_product_row .product_action .price { width: 39%; display:inline-block; text-align:right; } +.basket_product_wrap .basket_product_row .product_action .price_total { width: 39%; display:inline-block; font-weight:bold; text-align:right; } +.basket_product_wrap .basket_product_row .product_info { display:flex; width:100%; justify-content:space-between; align-items:center; } +.basket_product_wrap .basket_product_row .product_info .titlep { width: 20%; display:inline-block; margin-top:0.3em; margin-bottom:0.3em; } +.basket_product_wrap .basket_product_row .product_info .title { width: 30%; display:inline-block; margin-top:0.3em; margin-bottom:0.3em; } +.basket_product_wrap .basket_product_row .product_info .valuel { width: 50%; display:inline-block; font-weight:normal; text-align:left; } +.basket_product_wrap .basket_product_row .product_info .valuer { width: 50%; display:inline-block; font-weight:normal; text-align:right; } +.basket_product_wrap .basket_product_row .product_info .fulll { width: 80%; display:inline-block; font-weight:normal; text-align:left; } +.basket_product_wrap .basket_product_row .product_info .dummyr { width: 19%; display:inline-block; font-weight:normal; text-align:right; } +.basket_product_wrap .basket_product_row .product_info .dummy { flex-grow:1; width:90px; } +.basket_product_wrap .basket_product_row .product_info .dummyp { flex-grow:1; width:110px; } +.basket_sum_wrap .basket_sum_row { display:flex; width:100%; justify-content:space-between; align-items:center; } +.basket_sum_wrap .basket_sum_row .title { width: 60%; display:inline-block; margin-top:0.3em; margin-bottom:0.3em; } +.basket_sum_wrap .basket_sum_row .title2 { width: 80%; display:inline-block; margin-top:0.3em; margin-bottom:0.3em; } +.basket_sum_wrap .basket_sum_row .value { width: 20%; display:inline-block; font-weight:normal; text-align:right; } +.basket_sum_wrap .basket_sum_row .valuel { width: 20%; display:inline-block; font-weight:normal; text-align:left; } +.basket_sum_wrap .basket_sum_row .sum { width: 20%; display:inline-block; font-weight:bold; text-align:right; } +.basket_sum_wrap .basket_sum_row .delgs { width: 20%; display:inline-block; font-weight:normal; text-align:right; } +.basket_sum_wrap .basket_sum_row .codegs { width: 34%; display:inline-block; font-weight:normal; text-align:left; } +.basket_sum_wrap .basket_sum_row .codegsl { width: 33%; display:inline-block; font-weight:normal; text-align:left; } +.basket_sum_wrap .basket_sum_row .codegsr { width: 33%; display:inline-block; font-weight:normal; text-align:right; } +.basket_sum_wrap .basket_sum_row .colgsl { width: 20%; display:inline-block; font-weight:normal; text-align:left; } +.basket_sum_wrap .basket_sum_row .colgsr { width: 20%; display:inline-block; font-weight:normal; text-align:right; } +.basket_sum_wrap .basket_sum_row .titlegs { width: 80%; display:inline-block; margin-top:0.3em; margin-bottom:0.3em; } +.basket_sum_wrap .wpsg_mod_basketteaser_row { display:flex; width:100%; justify-content:space-between; align-items:center; } +.basket_sum_wrap .wpsg_mod_basketteaser_row .valuer { width: 20%; display:inline-block; font-weight:normal; text-align:right; } +.basket_sum_wrap .wpsg_mod_basketteaser_row .valuel { width: 20%; display:inline-block; font-weight:normal; text-align:left; } + +.wpsg_basket .wpsg_basket_removelink { float:right; text-decoration:none; border:0px !important; } +.wpsg_basket .wpsg_checkoutbutton { float:right; } +.wpsg_basket .wpsg_cell_gesamtsumme_value { font-weight:bold; } +.wpsg_basket .wpsg_refreshbutton, .wpsg_basketbutton { float:left; } +.wpsg_basket .wpsg_basket_weiter_shoppen2 {background:#1a1a1a none repeat scroll 0 0; border:0 none; border-radius:2px; color:#fff; font-weight:700; line-height:1; text-transform:uppercase; padding:0.85em 0.875em 0.78em;} + /* Checkout + Request*/ .wpsg_checkout .wpsg_checkoutblock { width:100%; clear:both; margin-bottom:2px; position:relative; width:100%; } @@ -137,6 +171,12 @@ input.wpsg_error { border-color:red !important; } .wpsg_productform .wpsg_product_layer { position:absolute; left:0px; top:0px; width:100%; height:100%; background-color:rgba(0, 0, 0, 0.25); padding:0.75em; margin:-0.75em; box-sizing:content-box; } .wpsg_productform .wpsg_product_layer img { position:absolute; left:50%; margin-left:-8px; top:50%; margin-top:-5px; } .wpsg_productform .wpsg_produkt_produktbilder { max-width:200px; } +.wpsg_productform label { + color: #333; + display: block; + font-weight: 800; + margin-bottom: 0.5em; +} @media (max-width:400px) { diff --git a/views/mods/mod_abo/basket_row.phtml b/views/mods/mod_abo/basket_row.phtml index 2d2d274..0163f12 100644 --- a/views/mods/mod_abo/basket_row.phtml +++ b/views/mods/mod_abo/basket_row.phtml @@ -5,12 +5,16 @@ */ ?> - - - - - : - +
+
view['$bPicture'] == true) { ?>class="titlep">class="title"> + +
+
view['wpsg_mod_abo']['order']['onr'], $this->view['wpsg_mod_abo']['wpsg_mod_abo_durration_menge']); ?> - - \ No newline at end of file +
+
+ +
+ +
\ No newline at end of file diff --git a/views/mods/mod_basketteaser/basket_row.phtml b/views/mods/mod_basketteaser/basket_row.phtml index 1d26f53..a0e3c62 100644 --- a/views/mods/mod_basketteaser/basket_row.phtml +++ b/views/mods/mod_basketteaser/basket_row.phtml @@ -5,21 +5,28 @@ */ ?> - -   - +
+
getProduktLink($this->view['data'])) { ?> view['data']['detailname'] != '')?$this->view['data']['detailname']:$this->view['data']['name'])); ?> view['data']['detailname'] != '')?$this->view['data']['detailname']:$this->view['data']['name'])); ?> - - view['data']['preis'], $this->get_option('wpsg_currency')); ?> - view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> - view['data']['mwst_value'], '%'); ?> - - - +
+
+ view['data']['preis'], $this->get_option('wpsg_currency')); ?> +
+
+ view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> + view['data']['mwst_value'], '%'); ?> + +
+
+ +
+
- - \ No newline at end of file +
+ +
+
\ No newline at end of file diff --git a/views/mods/mod_deliverytime/basket_row.phtml b/views/mods/mod_deliverytime/basket_row.phtml index 14b2d94..694286c 100644 --- a/views/mods/mod_deliverytime/basket_row.phtml +++ b/views/mods/mod_deliverytime/basket_row.phtml @@ -5,9 +5,12 @@ */ ?> - - : - +
+
view['$bPicture'] == true) { ?>class="titlep">class="title"> + +
+
view['data']['wpsg_mod_deliverytime_deliverytime'])) { /* Lieferzeit > 0 im Produkte */ ?> view['wpsg_mod_deliverytime']['deliverytime'] ?> get_option('wpsg_mod_deliverytime_mode_days_default')) && $this->view['data']['wpsg_mod_deliverytime_deliverytime'] != '0') { /* Lieferzeit > 0 Global */ ?> @@ -15,16 +18,18 @@ - - - +
+
+ +
+ +
get_option('wpsg_mod_deliverytime_delay') == '1') { ?> - - -
- get_option('wpsg_mod_deliverytime_delayText'), $this->get_option('wpsg_mod_deliverytime_delayTime')); ?> -
- - +
+
+ get_option('wpsg_mod_deliverytime_delayText'), $this->get_option('wpsg_mod_deliverytime_delayTime')); ?> + +
+
\ No newline at end of file diff --git a/views/mods/mod_gutschein/basket_row_end.phtml b/views/mods/mod_gutschein/basket_row_end.phtml index 9bca86b..f9b2d0b 100644 --- a/views/mods/mod_gutschein/basket_row_end.phtml +++ b/views/mods/mod_gutschein/basket_row_end.phtml @@ -5,13 +5,15 @@ */ ?> - - - +
+
+
- - +
+
view['error']))?'wpsg_error':''); ?>" type="text" name="wpsg[gutschein]" value="" /> - - - \ No newline at end of file +
+
+ +
+
\ No newline at end of file diff --git a/views/mods/mod_productvariants/basket_row.phtml b/views/mods/mod_productvariants/basket_row.phtml index ba8063e..d0de622 100644 --- a/views/mods/mod_productvariants/basket_row.phtml +++ b/views/mods/mod_productvariants/basket_row.phtml @@ -5,10 +5,13 @@ */ ?> -view['variante']) ?> - - : - +view['variante']) ?> +
+
view['$bPicture'] == true) { ?>class="titlep">class="title"> + +
+
view['variante'] as $vari => $value) { ?> @@ -19,5 +22,9 @@ view['variante']['key']; ?> - - \ No newline at end of file +
+
+ +
+ +
\ No newline at end of file diff --git a/views/mods/mod_productvars/basket_row.phtml b/views/mods/mod_productvars/basket_row.phtml index dc08c07..663c956 100644 --- a/views/mods/mod_productvars/basket_row.phtml +++ b/views/mods/mod_productvars/basket_row.phtml @@ -6,22 +6,29 @@ ?> view['wpsg_mod_productvars']['data'] as $pv) { ?> - - *: - +
+
view['$bPicture'] == true) { ?>class="titlep">class="title"> + * +
+
view['wpsg_mod_productvars']['p']['product_index'], (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" name="wpsg_mod_productvars[][view['wpsg_mod_productvars']['p']['product_index']; ?>]" value="view['wpsg_mod_productvars']['p']['wpsg_mod_productvars'][$pv['id']]); ?>" /> - view['wpsg_mod_productvars']['p']['wpsg_mod_productvars'][$pv['id']] == '1')?'checked="checked"':''); ?> class="view['wpsg_mod_productvars']['p']['product_index'], (array)$this->view['error']))?'wpsg_error':''); ?>" type="checkbox" value="1" name="wpsg_mod_productvars[][view['wpsg_mod_productvars']['p']['product_index']; ?>]" /> + view['wpsg_mod_productvars']['p']['wpsg_mod_productvars'][$pv['id']]) == '1')?'checked="checked"':''); ?> class="view['wpsg_mod_productvars']['p']['product_index'], (array)$this->view['error']))?'wpsg_error':''); ?>" type="checkbox" value="1" name="wpsg_mod_productvars[][view['wpsg_mod_productvars']['p']['product_index']; ?>]" /> - - +
+
+ +
+ +
\ No newline at end of file diff --git a/views/mods/mod_produktattribute/basket_row.phtml b/views/mods/mod_produktattribute/basket_row.phtml index b53c5fa..5ad6e81 100644 --- a/views/mods/mod_produktattribute/basket_row.phtml +++ b/views/mods/mod_produktattribute/basket_row.phtml @@ -7,11 +7,17 @@ ?> view['wpsg_mod_produktattribute']['data'] as $pa_id) { ?> - - - : - +
+
view['$bPicture'] == true) { ?>class="titlep">class="title"> + callMod('wpsg_mod_produktattribute', 'getAttributeLabel', array($pa_id)); ?> +
+
callMod('wpsg_mod_produktattribute', 'getAttributeValue', array($this->view['wpsg_mod_produktattribute']['id'], $pa_id)); ?> - - - +
+
+ +
+ +
+ \ No newline at end of file diff --git a/views/mods/mod_weight/basket_row.phtml b/views/mods/mod_weight/basket_row.phtml index f8739c4..2b56e5a 100644 --- a/views/mods/mod_weight/basket_row.phtml +++ b/views/mods/mod_weight/basket_row.phtml @@ -5,9 +5,16 @@ */ //wpsg_debug($this->view); ?> - - : - +
+
view['$bPicture'] == true) { ?>class="titlep">class="title"> + +
+
view['weight'], $this->get_option('wpsg_mod_weight_unit')); ?> - - \ No newline at end of file +
+
+ +
+ +
\ No newline at end of file diff --git a/views/mods/mod_weight/basket_row_end.phtml b/views/mods/mod_weight/basket_row_end.phtml index 97da5bf..a320397 100644 --- a/views/mods/mod_weight/basket_row_end.phtml +++ b/views/mods/mod_weight/basket_row_end.phtml @@ -5,11 +5,14 @@ */ ?> - - +
+
: - - +
+
view['wpsg_mod_weight']['weight'], $this->get_option('wpsg_mod_weight_unit')); ?> - - \ No newline at end of file +
+
+ +
+
\ No newline at end of file diff --git a/views/warenkorb/basket.phtml b/views/warenkorb/basket.phtml index 3fecba6..7a3bfca 100644 --- a/views/warenkorb/basket.phtml +++ b/views/warenkorb/basket.phtml @@ -23,11 +23,11 @@ view['basket']['produkte']) > 0) { ?> hasMod('wpsg_mod_onepagecheckout') && ($this->get_option('wpsg_mod_onepagecheckout_basket') == 1)) { ?> - + render(WPSG_PATH_VIEW.'/warenkorb/progress.phtml'); ?> - + - view['noFormTag'])) { ?> + view['noFormTag'])) { ?>
@@ -37,18 +37,44 @@
- view['basket']['produkte'] as $k => $product_data) { ?> + view['basket']['produkte'] as $k => $product_data) { $i ++; ?> +
- callMod('wpsg_mod_produktbilder', 'getProduktBilder_MT', array($product_data['product_id'])); if (!wpsg_isSizedArray($arImages)) $arImages = array(); ?> - + view['$bPicture'] = false; ?> + + get_option('wpsg_mod_produktbilder_basketimage') == '1' && $this->hasMod('wpsg_mod_produktbilder')) { + + if (wpsg_isSizedString($product_data['varianten_image'])) $arImages = array($product_data['varianten_image']); + else $arImages = $this->callMod('wpsg_mod_produktbilder', 'getProduktBilder_MT', array($this->getProduktID($product_data['id']))); + + ?>
+ - + callMod('wpsg_mod_productvariants', 'getKombiVariImages', array($product_data['product_key'])); + if (wpsg_isSizedArray($arr)) + { + $ais = wp_get_attachment_image_src($arr[0]['post_id'], 'thumbnail'); + $url = $ais[0]; + } + else + { + $url = $this->callMod('wpsg_mod_produktbilder', 'getProductImage_MT', array($product_data['productkey'], 'thumbnail')); + } + } else { + $url = $this->callMod('wpsg_mod_produktbilder', 'getProductImage_MT', array($product_data['productkey'], 'thumbnail')); + } + if (wpsg_isSizedString($url)) $this->view['$bPicture'] = true; + echo ""; + ?> +
- +
@@ -62,162 +88,144 @@
+ + <?php echo __('Löschen', 'wpsg'); ?> + +
+
+ +
value="" size="3" />
+
+
+
+ +
get_option('wpsg_currency')); ?>
+
+
+
+ +
get_option('wpsg_currency')); ?>
+ view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> +
+
view['$bPicture'] == true) { ?>class="titlep">class="title"> + +
+
+ +
+
+ +
+ +
+ + + callMods('basket_row', array(&$product_data, $i)); $strBasketRow = ob_get_contents(); ob_end_clean(); ?> + +
- + +
+
- - - - - - view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> - - - - - view['basket']['produkte'] as $k => $p) { $i ++; ?> - callMods('basket_row', array(&$p, $i)); $strBasketRow = ob_get_contents(); ob_end_clean(); ?> - - - - - view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> - - - - - - - - - - callMods('basket_row_afterproducts', array(&$p, $i)); ?> - view['basket']['gs'])) { ?> - - - - view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> - - - - - - - +
+ +
view['basket']['sum']['gs'], $this->get_option('wpsg_currency')); ?>
+ - view['basket']['sum']['preis_rabatt']) && wpsg_tf($this->view['basket']['sum']['preis_rabatt']) > 0) { ?> - - - - - view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> - - - - + +
+ view['basket']['sum']['preis_rabatt']) && wpsg_tf($this->view['basket']['sum']['preis_rabatt']) > 0) { ?> +
+ : +
+ view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> +
+ +
+ +
+ view['basket']['sum']['preis_rabatt'], $this->get_option('wpsg_currency')); ?> +
+ +
+ + +
- - - - - - - view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> - - */?> - - - + + hasMod('wpsg_mod_crefopay')) { ?> - - - view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> - - - - + } ?> + +
+ view['basket']['sum']['preis_payment'], $this->get_option('wpsg_currency')); ?> +
+ - + - - - - - - - - - - - - - view['basket']['mwst'] as $mwst) { ?> - - - - + + + + view['basket']['mwst'] as $mwst) { ?> +
+
+ : +
+
+ get_option('wpsg_currency'); ?> +
+
- - - - + + +
+ callMods('basket_row_end', array(&$this->view)); ?> -
 
- - - <?php echo __('Löschen', 'wpsg'); ?> - - - - value="" size="3" /> - get_option('wpsg_currency'); ?> % get_option('wpsg_currency'); ?>
- get_option('wpsg_mod_produktbilder_basketimage') == '1' && $this->hasMod('wpsg_mod_produktbilder')) { - - if (wpsg_isSizedString($p['varianten_image'])) $arBilder = array($p['varianten_image']); - else $arBilder = $this->callMod('wpsg_mod_produktbilder', 'getProduktBilder_MT', array($this->getProduktID($p['id']))); - - ?> -
- - - callMod('wpsg_mod_produktbilder', 'getProductImage_MT', array($p['product_key'], 'medium')); - $arr = $this->callMod('wpsg_mod_productvariants', 'getKombiVariImages', array($p['product_key'])); - $ais = wp_get_attachment_image_src($arr[0]['post_id'], 'thumbnail'); - $url = $ais[0]; - } else { - $url = $this->callMod('wpsg_mod_produktbilder', 'getProductImage_MT', array($p['productkey'], 'medium')); - } - echo ""; - ?> - + callMods('basket_row_afterproducts', array(&$p, $i)); ?> + + + view['basket']['gs'])) { $bLine = true; ?> +
+
+ view['basket']['gs']['code'] != '')? '('.$this->view['basket']['gs']['code'].')':'' ?> +
+ +
+
+
 
+
1
+
+ view['basket']['gs']['calc'] == 'p') { ?> + view['basket']['gs']['value'], '%'); ?> + + view['basket']['sum']['gs'], $this->get_option('wpsg_currency')); ?>
- - getProduktLink($p)) { ?> - - - - -
- - <?php echo __('Löschen', 'wpsg'); ?> - - 1 - view['basket']['gs']['calc'] == 'p') { ?> - view['basket']['gs']['value'], '%'); ?> - - view['basket']['sum']['gs'], $this->get_option('wpsg_currency')); ?> - - view['basket']['sum']['gs'], $this->get_option('wpsg_currency')); ?>
- view['basket']['gs']['code'] != '')? '('.$this->view['basket']['gs']['code'].')':'' ?> -
- - - view['basket']['sum']['preis_rabatt'], $this->get_option('wpsg_currency')); ?> - - view['basket']['sum']['preis_rabatt'], $this->get_option('wpsg_currency')); ?> -
+ +
+
get_option("wpsg_kleinunternehmer") == "1") { ?> - getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').''); ?>: - - getFrontendTaxview() == WPSG_NETTO) { ?> - getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').''); ?>: + getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').''); ?>: - getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').''); ?>: + getFrontendTaxview() == WPSG_NETTO) { ?> + getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').''); ?>: + + getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').''); ?>: + - -
+ +
view['basket']['sum']['preis'], $this->get_option('wpsg_currency')); ?> -
+ + + +
+
Versandkosten:', 'wpsg'), $this->getURL(wpsg_ShopController::URL_VERSANDKOSTEN) ); ?> - arShipping) > 1) { ?> + arShipping) > 1) { ?> @@ -231,124 +239,144 @@ view['arLander'] as $l_id => $l) { ?> - + -
view['basket']['shipping']['tax_rata']) && $this->view['basket']['shipping']['tax_rata'] === true) - { - - echo __('anteilig', 'wpsg'); - - } - else if (array_key_exists($this->view['basket']['checkout']['shipping'], $this->arShipping)) - { - - echo wpsg_ff($this->arShipping[$this->view['basket']['checkout']['shipping']]['mwst_value'], '%'); - - } - - ?>arShipping[$this->view['basket']['checkout']['shipping']]['mwst_value'] > 0)?wpsg_ff($this->arShipping[$this->view['basket']['checkout']['shipping']]['mwst_value'], '%'):__('anteilig', 'wpsg')); ?> + +
+ view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { + if (isset($this->view['basket']['shipping']['tax_rata']) && $this->view['basket']['shipping']['tax_rata'] === true) + { + + echo __('anteilig', 'wpsg'); + + } + else if (array_key_exists($this->view['basket']['checkout']['shipping'], $this->arShipping)) + { + + echo wpsg_ff($this->arShipping[$this->view['basket']['checkout']['shipping']]['mwst_value'], '%'); + + } + } + ?> +
+
view['basket']['sum']['preis_shipping'], $this->get_option('wpsg_currency')); ?> -
- - arPayment) > 1) { ?> - + + arPayment as $p_id => $p) { ?> + + + + arPayment) || !array_key_exists($this->view['basket']['checkout']['payment'], $this->arPayment)) { ?> + + + arPayment[$this->view['basket']['checkout']['payment']]['name']; ?> - - arPayment) || !array_key_exists($this->view['basket']['checkout']['payment'], $this->arPayment)) { ?> - - - arPayment[$this->view['basket']['checkout']['payment']]['name']; ?> - - view['basket']['payment']['tax_rata']) && $this->view['basket']['payment']['tax_rata'] === true) - { - - echo __('anteilig', 'wpsg'); - - } - else if (array_key_exists(wpsg_getStr($this->view['basket']['checkout']['payment']), $this->arPayment)) - { - - echo wpsg_ff($this->arPayment[$this->view['basket']['checkout']['payment']]['mwst_value'], '%'); + +
+ view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { + + if (isset($this->view['basket']['payment']['tax_rata']) && $this->view['basket']['payment']['tax_rata'] === true) + { + + echo __('anteilig', 'wpsg'); + + } + else if (array_key_exists(wpsg_getStr($this->view['basket']['checkout']['payment']), $this->arPayment)) + { + + echo wpsg_ff($this->arPayment[$this->view['basket']['checkout']['payment']]['mwst_value'], '%'); + + } - } - - ?>
- view['basket']['sum']['preis_payment'], $this->get_option('wpsg_currency')); ?> -
- : - - view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')); ?> -
+
+
+ +
+
+ +
+
+ +
+
+ : +
+
+ view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')); ?> +
+
+ + +
+
: -
+ +
view['basket']['sum']['preis_gesamt_netto'], $this->get_option('wpsg_currency')); ?> -
- : - - get_option('wpsg_currency'); ?> -
+
+
+
: -
+ +
view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')); ?> -
- - callMods('basket_inner_prebutton', array(&$this->view)); ?> - -
+ +
+
+ +
+
+ +
+
+ +
+
+ + callMods('basket_inner_prebutton', array(&$this->view)); ?> + +
@@ -360,17 +388,20 @@

- +
- - ClearSessionErrors(); ?> - view['noFormTag'])) { ?> -
+ ClearSessionErrors(); ?> + + view['noFormTag'])) { ?> + +
callMods('basket_after', array(&$this->view)); ?> - + +
+

-- cgit v1.2.3