diff options
Diffstat (limited to 'views/mods')
| -rw-r--r-- | views/mods/mod_productindex/layouts/grid.phtml | 2 | ||||
| -rw-r--r-- | views/mods/mod_productindex/layouts/list.phtml | 2 | ||||
| -rw-r--r-- | views/mods/mod_productview/productview.phtml | 10 |
3 files changed, 7 insertions, 7 deletions
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 @@ <?php if (false) { ?>
<span class="wpsg_produkt_soldout"><?php echo __('Produkt ausverkauft', 'wpsg'); ?></span>
<?php } else { ?>
- <a class="wpsg_button<?php echo wpsg_button_class(); ?>" title="<?php echo __('Zur Detailseite des Produkts', 'wpsg'); ?>" href="<?php echo wpsg_url($p['url']); ?>"><?php echo __('Zum Produkt', 'wpsg'); ?></a>
+ <a class="wpsg_button<?php echo wpsg_button_class(); ?>" title="<?php echo __('Zur Detailseite des Produkts', 'wpsg'); ?>" href="<?php echo wpsg_url($p['url']); ?>"><?php echo esc_html(wpsg_button_text('to_product', __('Zum Produkt', 'wpsg'))); ?></a>
<?php } ?>
</div>
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 @@ <?php if (false) { ?>
<span class="wpsg_produkt_soldout"><?php echo __('Produkt ausverkauft', 'wpsg'); ?></span>
<?php } else { ?>
- <a class="wpsg_button<?php echo wpsg_button_class(); ?>" title="<?php echo __('Zur Detailseite des Produkts', 'wpsg'); ?>" href="<?php echo wpsg_url($p['url']); ?>"><?php echo __('Zum Produkt', 'wpsg'); ?></a>
+ <a class="wpsg_button<?php echo wpsg_button_class(); ?>" title="<?php echo __('Zur Detailseite des Produkts', 'wpsg'); ?>" href="<?php echo wpsg_url($p['url']); ?>"><?php echo esc_html(wpsg_button_text('to_product', __('Zum Produkt', 'wpsg'))); ?></a>
<?php } ?>
</div>
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 @@ <?php if ($oProduct->canDisplayPrice()) { $price = $oProduct->getPrice(); $oldPrice = $oProduct->getOldPrice(); ?> <p class="wpsg-pv__price"> <?php if ($oldPrice !== false && $oldPrice != $price) { ?> - <span class="wpsg-pv__price-current wpsg_mod_productview_current"><?php echo esc_html(wpsg_ff($price, $currency)); ?></span> - <del class="wpsg-pv__price-old wpsg_mod_productview_oldprice"><?php echo esc_html(wpsg_ff($oldPrice, $currency)); ?></del> + <span class="wpsg-pv__price-current wpsg_mod_productview_current"><?php echo wpsg_price_html($price, 'list'); ?></span> + <del class="wpsg-pv__price-old wpsg_mod_productview_oldprice"><?php echo wpsg_price_html($oldPrice, 'list_old'); ?></del> <?php } else { ?> - <span class="wpsg-pv__price-current"><?php echo esc_html(wpsg_ff($price, $currency)); ?></span> + <span class="wpsg-pv__price-current"><?php echo wpsg_price_html($price, 'list'); ?></span> <?php } ?> </p> <?php if ($this->hasMod('wpsg_mod_fuellmenge')) { ?> @@ -134,10 +134,10 @@ <input type="hidden" name="wpsg[produkt_id]" value="<?php echo esc_attr((string)$product_id); ?>" /> <input type="hidden" name="wpsg[menge]" value="1" /> <input type="hidden" name="myReferer" value="<?php echo esc_attr($v['url']); ?>" /> - <button type="submit" name="wpsg[submit]" value="1" class="wpsg_button wpsg_add_basket<?php echo wpsg_button_class(); ?>"><?php echo esc_html__('In den Warenkorb', 'wpsg'); ?><span class="screen-reader-text"><?php echo esc_html(': '.$name); ?></span></button> + <button type="submit" name="wpsg[submit]" value="1" class="wpsg_button wpsg_add_basket<?php echo wpsg_button_class(); ?>"><?php echo esc_html(wpsg_button_text('add_to_basket', __('In den Warenkorb', 'wpsg'))); ?><span class="screen-reader-text"><?php echo esc_html(': '.$name); ?></span></button> </form> <?php } ?> - <a class="wpsg_button<?php echo wpsg_button_class(); ?>" href="<?php echo esc_url($url); ?>"><?php echo esc_html__('Zum Produkt', 'wpsg'); ?><span class="screen-reader-text"><?php echo esc_html(': '.$name); ?></span></a> + <a class="wpsg_button<?php echo wpsg_button_class(); ?>" href="<?php echo esc_url($url); ?>"><?php echo esc_html(wpsg_button_text('to_product', __('Zum Produkt', 'wpsg'))); ?><span class="screen-reader-text"><?php echo esc_html(': '.$name); ?></span></a> </div> </div> |
