diff options
Diffstat (limited to 'views')
| -rw-r--r-- | views/mods/mod_productvariants/basket_row.phtml | 17 | ||||
| -rw-r--r-- | views/mods/mod_relatedproducts/list.phtml | 2 | ||||
| -rw-r--r-- | views/warenkorb/basket.phtml | 2 |
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; ?>
|
