summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/css/frontend.css2
-rw-r--r--views/mods/mod_productvariants/basket_row.phtml5
-rw-r--r--views/mods/mod_productvariants/overview_row.phtml5
3 files changed, 9 insertions, 3 deletions
diff --git a/views/css/frontend.css b/views/css/frontend.css
index 8c64a19..163ef6b 100644
--- a/views/css/frontend.css
+++ b/views/css/frontend.css
@@ -141,7 +141,7 @@ input.wpsg_error { border-color:red !important; }
.wpsg_overview .wpsg_table_wrap .overview_product_row .product_action .price { width: 39%; display:inline-block; text-align:right; }
.wpsg_overview .wpsg_table_wrap .overview_product_row .product_action .price_total { width: 39%; display:inline-block; font-weight:bold; text-align:right; }
.wpsg_overview .wpsg_table_wrap .overview_product_row .product_info { display:flex; width:100%; justify-content:space-between; align-items:center; }
-.wpsg_overview .wpsg_table_wrap .overview_product_row .product_info .titlep { width: 20%; display:inline-block; margin-top:0.3em; margin-bottom:0.3em; }
+.wpsg_overview .wpsg_table_wrap .overview_product_row .product_info .titlep { width: 20%; min-width:120px; display:inline-block; margin-top:0.3em; margin-bottom:0.3em; }
.wpsg_overview .wpsg_table_wrap .overview_product_row .product_info .title { width: 30%; display:inline-block; margin-top:0.3em; margin-bottom:0.3em; }
.wpsg_overview .wpsg_table_wrap .overview_product_row .product_info .valuel { width: 50%; display:inline-block; font-weight:normal; text-align:left; }
.wpsg_overview .wpsg_table_wrap .overview_product_row .product_info .valuer { width: 50%; display:inline-block; font-weight:normal; text-align:right; }
diff --git a/views/mods/mod_productvariants/basket_row.phtml b/views/mods/mod_productvariants/basket_row.phtml
index d0de622..35dc6e3 100644
--- a/views/mods/mod_productvariants/basket_row.phtml
+++ b/views/mods/mod_productvariants/basket_row.phtml
@@ -15,7 +15,10 @@
<?php if (get_option('wpsg_vp_detailview') == 1) { ?>
<?php foreach ($this->view['variante'] as $vari => $value) { ?>
<?php if (is_numeric($vari)) { ?>
- <?php echo $value['name'] ?>: <?php echo $value['value'] ?>; <?php echo __('Art. Nr.', 'wpsg').': '.$value['artnr'] ?>; <?php echo $value['preis'] ?> <?php echo $this->get_option('wpsg_currency') ?>
+ <?php echo $value['name'] ?>: <?php echo $value['value'] ?>; <?php echo __('Art. Nr.', 'wpsg').': '.$value['artnr'] ?>;
+ <?php if ($this->callMod('wpsg_mod_productvariants', 'showVariPrice', array($value['preis']))) { ?>
+ (<?php echo wpsg_ff($value['preis'], $this->get_option('wpsg_currency')); ?>)
+ <?php } ?>
<br />
<?php } ?>
<?php } ?>
diff --git a/views/mods/mod_productvariants/overview_row.phtml b/views/mods/mod_productvariants/overview_row.phtml
index 1ca7e07..b6a7d1e 100644
--- a/views/mods/mod_productvariants/overview_row.phtml
+++ b/views/mods/mod_productvariants/overview_row.phtml
@@ -15,7 +15,10 @@
<?php if (get_option('wpsg_vp_detailview') == 1) { ?>
<?php foreach ($this->view['variante'] as $vari => $value) { ?>
<?php if (is_numeric($vari)) { ?>
- <?php echo $value['name'] ?>: <?php echo $value['value'] ?>; <?php echo __('Art. Nr.', 'wpsg').': '.$value['artnr'] ?>; <?php echo $value['preis'] ?> <?php echo $this->get_option('wpsg_currency') ?>
+ <?php echo $value['name'] ?>: <?php echo $value['value'] ?>; <?php echo __('Art. Nr.', 'wpsg').': '.$value['artnr'] ?>;
+ <?php if ($this->callMod('wpsg_mod_productvariants', 'showVariPrice', array($value['preis']))) { ?>
+ (<?php echo wpsg_ff($value['preis'], $this->get_option('wpsg_currency')); ?>)
+ <?php } ?>
<br />
<?php } ?>
<?php } ?>