From ad405c7045c6e242080ec9d3ce4c9e586b517c4f Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Thu, 14 Jan 2016 14:55:36 +0000 Subject: - Testweise 4 git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5261 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/warenkorb/basket.phtml | 331 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 331 insertions(+) create mode 100644 views/warenkorb/basket.phtml (limited to 'views/warenkorb/basket.phtml') diff --git a/views/warenkorb/basket.phtml b/views/warenkorb/basket.phtml new file mode 100644 index 0000000..f75874f --- /dev/null +++ b/views/warenkorb/basket.phtml @@ -0,0 +1,331 @@ +view['basket']); + //wpsg_debug($_SESSION); + //wpsg_debug($this->arShipping); + +?> +
+ + writeFrontendMessage(); ?> + + callMods('basket_top'); ?> + + view['basket']['produkte']) > 0) { ?> + + render(WPSG_PATH_VIEW.'/warenkorb/progress.phtml'); ?> + +
+ +

+ +
+ + + + + + + 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']['preis_rabatt']) && wpsg_tf($this->view['basket']['sum']['preis_rabatt']) > 0) { ?> + + + + + view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> + + + + + + + + + + + + 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']['mwst'] as $mwst) { ?> + + + + + + + + + + + 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', array($this->getProduktID($p['id']))); + + ?> +
+ + <?php echo wpsg_hspc((($p['detailname'] != '')?$p['detailname']:$p['name'])); ?> + +
+ + 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').''); ?>: + + + + view['basket']['sum']['preis'], $this->get_option('wpsg_currency')); ?> +
+ Versandkosten:', 'wpsg'), + $this->getURL(wpsg_ShopController::URL_VERSANDKOSTEN) + ); ?> + arShipping) > 1) { ?> + + + arShipping[$this->view['basket']['checkout']['shipping']]['name']; ?> + + get_option('wpsg_hideBasketCountrySelect') != '1') { ?> + + + + + 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']['sum']['preis_shipping'], $this->get_option('wpsg_currency')); ?> +
+ + arPayment) > 1) { ?> + + + 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']['sum']['preis_payment'], $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)); ?> + +
+ + + + + + +
+ + ClearSessionErrors(); ?> + +
+ + callMods('basket_after', array(&$this->view)); ?> + + +

+ + +
+ + \ No newline at end of file -- cgit v1.2.3