summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2022-06-03 12:36:55 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2022-06-03 12:36:55 +0000
commit953a3aae5e0abc0cd53983f8bd861ec0257bb763 (patch)
treec6e8fcc02636d31b8ee9a16e1593ff3a43c88236 /views
parent7349b615c6c8ac4b898765ce17b912dfa5489e1f (diff)
- Backup
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7998 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views')
-rw-r--r--views/mods/mod_productvariants/basket_row.phtml17
-rw-r--r--views/mods/mod_relatedproducts/list.phtml2
-rw-r--r--views/warenkorb/basket.phtml2
3 files changed, 11 insertions, 10 deletions
diff --git a/views/mods/mod_productvariants/basket_row.phtml b/views/mods/mod_productvariants/basket_row.phtml
index 2de45dc..6a187a1 100644
--- a/views/mods/mod_productvariants/basket_row.phtml
+++ b/views/mods/mod_productvariants/basket_row.phtml
@@ -17,18 +17,19 @@
<?php foreach ($this->view['variante'] as $vari => $value) { ?>
<?php if (is_numeric($vari)) { ?>
- <?php echo $value['name'] ?>:
- <strong>
- <?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 echo $value['name'] ?>:
+ <strong>
+ <?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 />
+ </strong>
<?php } ?>
<?php } ?>
<?php } else { ?>
<?php echo $this->view['variante']['key']; ?>
<?php } ?>
- </strong>
+
</div>
</div> \ No newline at end of file
diff --git a/views/mods/mod_relatedproducts/list.phtml b/views/mods/mod_relatedproducts/list.phtml
index 2f56561..b6c808e 100644
--- a/views/mods/mod_relatedproducts/list.phtml
+++ b/views/mods/mod_relatedproducts/list.phtml
@@ -11,7 +11,7 @@
<?php } else { ?>
<?php foreach ($this->view['wpsg_mod_relatedproducts']['data'] as $p) { ?>
<span id="wpsg_rp_<?php echo $p['id']; ?>">
- <?php echo wpsg_drawForm_Select('wpsg_mod_relatedproduct['.$p['id'].']', $p['name'], $this->view['wpsg_mod_relatedproducts']['arTemplates'], $p['template'], array('icon' => 'wpsg_icon_remove glyphicon glyphicon-trash')); ?>
+ <?php echo wpsg_drawForm_Select('wpsg_mod_relatedproduct['.$p['id'].']', '<a href="'.wp_nonce_url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Produkt&action=edit&edit_id='.$p['product_id'], 'wpsg-product-edit-'.$p['product_id']).'">'.$p['name'].'</p>', $this->view['wpsg_mod_relatedproducts']['arTemplates'], $p['template'], array('icon' => 'wpsg_icon_remove glyphicon glyphicon-trash')); ?>
</span>
<div class="wpsg_clear"></div>
<?php } ?>
diff --git a/views/warenkorb/basket.phtml b/views/warenkorb/basket.phtml
index 84b4171..0375cb4 100644
--- a/views/warenkorb/basket.phtml
+++ b/views/warenkorb/basket.phtml
@@ -144,7 +144,7 @@
<div class="basket_sum_wrap">
- <?php $this->callMods('basket_row_afterproducts', array(&$p, $i)); ?>
+ <?php $this->callMods('basket_row_afterproducts', []); ?>
<?php $bLine = false; ?>