From fdef6be49c0eae438c56c16a9013a252e7ed5c07 Mon Sep 17 00:00:00 2001 From: Roger Rehnelt Date: Thu, 1 Oct 2026 19:52:08 +0200 Subject: Einhängepunkte: feste Namen, Filter je Vorlage, Knöpfe und Preise MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Die Aktionen der Vorlagen feuern zusätzlich als wpsg_template_… mit einzelnen Argumenten, der Vorlagenfilter auch mit relativem Schlüssel (K40). Neue Filter für Knopfklassen, Knopftexte und Preise; die bisherigen Namen bleiben. Co-Authored-By: Claude Opus 5.5 --- views/blocks/product-list.phtml | 8 ++++---- views/mods/mod_productindex/layouts/grid.phtml | 2 +- views/mods/mod_productindex/layouts/list.phtml | 2 +- views/mods/mod_productview/productview.phtml | 10 +++++----- views/produkttemplates/standard.phtml | 8 ++++---- views/produkttemplates/standard2.phtml | 8 ++++---- views/produkttemplates/standard3.phtml | 8 ++++---- 7 files changed, 23 insertions(+), 23 deletions(-) diff --git a/views/blocks/product-list.phtml b/views/blocks/product-list.phtml index 802c0c9..55c229c 100644 --- a/views/blocks/product-list.phtml +++ b/views/blocks/product-list.phtml @@ -34,9 +34,9 @@ canDisplayPrice()) { $price = $oProduct->getPrice($product_id); ?>
hasMod('wpsg_mod_productvariants') && $this->callMod('wpsg_mod_productvariants', 'isVariantsProduct', [$product_id])) { ?> - + - +
hasMod('wpsg_mod_fuellmenge')) { ?> @@ -53,10 +53,10 @@ - + - + diff --git a/views/mods/mod_productindex/layouts/grid.phtml b/views/mods/mod_productindex/layouts/grid.phtml index f9228c4..bf43c7c 100644 --- a/views/mods/mod_productindex/layouts/grid.phtml +++ b/views/mods/mod_productindex/layouts/grid.phtml @@ -171,7 +171,7 @@ - + diff --git a/views/mods/mod_productindex/layouts/list.phtml b/views/mods/mod_productindex/layouts/list.phtml index c62890b..9bac616 100644 --- a/views/mods/mod_productindex/layouts/list.phtml +++ b/views/mods/mod_productindex/layouts/list.phtml @@ -175,7 +175,7 @@ - + diff --git a/views/mods/mod_productview/productview.phtml b/views/mods/mod_productview/productview.phtml index 66ee06f..0319b84 100644 --- a/views/mods/mod_productview/productview.phtml +++ b/views/mods/mod_productview/productview.phtml @@ -90,10 +90,10 @@ canDisplayPrice()) { $price = $oProduct->getPrice(); $oldPrice = $oProduct->getOldPrice(); ?>

- - + + - +

hasMod('wpsg_mod_fuellmenge')) { ?> @@ -134,10 +134,10 @@ - + - + diff --git a/views/produkttemplates/standard.phtml b/views/produkttemplates/standard.phtml index d85957d..9cc7ba1 100644 --- a/views/produkttemplates/standard.phtml +++ b/views/produkttemplates/standard.phtml @@ -119,10 +119,10 @@ view['oProduct']->getOldPrice(); ?> view['oProduct']->getPrice($this->view['data']['product_key'])) { ?> - view['oProduct']->getPrice($this->view['data']['product_key']), $this->get_option('wpsg_currency')); ?> - get_option('wpsg_currency')); ?> + view['oProduct']->getPrice($this->view['data']['product_key']), 'product'); ?> + - view['oProduct']->getPrice($this->view['data']['product_key']), $this->get_option('wpsg_currency')); ?> + view['oProduct']->getPrice($this->view['data']['product_key']), 'product'); ?> @@ -336,7 +336,7 @@ view['data']['basket_multiple'] == 4)?' readonly="readonly" ':''); ?> /> - + diff --git a/views/produkttemplates/standard2.phtml b/views/produkttemplates/standard2.phtml index 3439979..9ea88cb 100644 --- a/views/produkttemplates/standard2.phtml +++ b/views/produkttemplates/standard2.phtml @@ -118,10 +118,10 @@ view['oProduct']->getOldPrice(); ?> view['oProduct']->getPrice($this->view['data']['product_key'])) { ?> - view['oProduct']->getPrice($this->view['data']['product_key']), $this->get_option('wpsg_currency')); ?> - get_option('wpsg_currency')); ?> + view['oProduct']->getPrice($this->view['data']['product_key']), 'product'); ?> + - view['oProduct']->getPrice($this->view['data']['product_key']), $this->get_option('wpsg_currency')); ?> + view['oProduct']->getPrice($this->view['data']['product_key']), 'product'); ?> @@ -321,7 +321,7 @@ view['data']['basket_multiple'] == 4)?' readonly="readonly" ':''); ?> /> - + get_option('wpsg_afterinsert'), array('2', '3'))) { ?>