From b2e8232be55c95a997c93c944e158e187b539cbb Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Thu, 13 Feb 2020 08:20:52 +0000 Subject: - Bugfix: HTML Mail blendet Zahlungskosten/Versandkosten optional aus wenn 0,- git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7672 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/mailtemplates/html/order.phtml | 6 +++++- views/order/view_orderlog.phtml | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/views/mailtemplates/html/order.phtml b/views/mailtemplates/html/order.phtml index f134e2e..cb0f2de 100644 --- a/views/mailtemplates/html/order.phtml +++ b/views/mailtemplates/html/order.phtml @@ -110,7 +110,8 @@   view['basket']['sum']['preis'], $this->get_option('wpsg_currency')); ?> - + + view['basket']['sum']['preis_shipping'] != 0 || $this->get_option('wpsg_hideemptyshipping') != '1') { ?> :   @@ -126,6 +127,7 @@   view['basket']['sum']['preis_shipping'], $this->get_option('wpsg_currency')); ?> + view['basket']['shipping']['methods'])) { ?> view['basket']['shipping']['methods'] as $shipping) { ?> @@ -151,6 +153,7 @@ + view['basket']['sum']['preis_payment'] != 0 || $this->get_option('wpsg_hideemptypayment') != '1') { ?> :   @@ -166,6 +169,7 @@   view['basket']['sum']['preis_payment'], $this->get_option('wpsg_currency')); ?> + get_option('wpsg_kleinunternehmer') == '1') { ?> diff --git a/views/order/view_orderlog.phtml b/views/order/view_orderlog.phtml index 79cd65d..d68ae85 100644 --- a/views/order/view_orderlog.phtml +++ b/views/order/view_orderlog.phtml @@ -4,8 +4,8 @@ * User: Daschmi (daschmi@daschmi.de) * Date: 06.08.2016 * Time: 11:24 - */ - + */ + ?> -- cgit v1.2.3