From 539520773683864d9d92cba1151ff65c6c455635 Mon Sep 17 00:00:00 2001 From: karl Date: Mon, 27 Feb 2023 13:47:18 +0000 Subject: - Bugfix: Versandart Versandkostenfrei schaut nun ob die Versandart im Produkt konfiguriert wurde git-svn-id: https://[internal]/wordpress/plugins/wpsg4@8239 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/produkttemplates/standard.phtml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'views') diff --git a/views/produkttemplates/standard.phtml b/views/produkttemplates/standard.phtml index cdd5931..872422a 100644 --- a/views/produkttemplates/standard.phtml +++ b/views/produkttemplates/standard.phtml @@ -117,8 +117,10 @@
+ + view['data']['allowedshipping']); ?> getFrontendTaxview() == WPSG_NETTO) { /* Frontend = NETTO Preise */ ?> - hasMod('wpsg_mod_freeshipping') && $this->get_option('wpsg_mod_freeshipping_aktiv') == '1') { /* Versandkostenfrei aktiv */?> + hasMod('wpsg_mod_freeshipping') && $this->get_option('wpsg_mod_freeshipping_aktiv') == '1' && (array_search('500', $fs) || array_search('', $fs))) { /* Versandkostenfrei aktiv */?> get_option('wpsg_mod_freeshipping_minvalue') > 0) { ?> ab #2# € versandkostenfrei)', 'wpsg'), @@ -134,7 +136,7 @@ view['data']['mwst_value']), ''.__('Versandkosten', 'wpsg').''); ?> - hasMod('wpsg_mod_freeshipping') && $this->get_option('wpsg_mod_freeshipping_aktiv') == '1') { /* Versandkostenfrei aktiv */ ?> + hasMod('wpsg_mod_freeshipping') && $this->get_option('wpsg_mod_freeshipping_aktiv') == '1' && (array_search('500', $fs) || array_search('', $fs))) { /* Versandkostenfrei aktiv */ ?> get_option('wpsg_mod_freeshipping_minvalue') > 0) { ?> ab #2# € versandkostenfrei)', 'wpsg'), -- cgit v1.2.3