bunu yapamadım.
sepetim 6 ürün - 250.00 ₺
şeklinde göstermek istiyorum.
ayrıca tıklayınca sepete gitsin istiyorum.
şöyle bir şey yapmıştım ama çalışmadı:
şu hatayı aldım: Notice: Undefined variable: total in C:\xampp\htdocs\opencart\catalog\view\theme\default\template\common\header.tpl on line 771 ürün - 0,00₺
sepetim 6 ürün - 250.00 ₺
şeklinde göstermek istiyorum.
ayrıca tıklayınca sepete gitsin istiyorum.
şöyle bir şey yapmıştım ama çalışmadı:
Kod:
<div class="links">
<a href="<?php echo $account; ?>"><?php echo $text_account; ?></a>
<a href="<?php echo $wishlist; ?>"><?php echo $text_wishlist; ?></a>
<a href="<?php echo $shopping_cart; ?>"><?php echo $text_shopping_cart; ?></a>
<?php echo $this->data['text_items'] = sprintf($this->language->get('text_items'),
$this->cart->countProducts() + (isset(
$this->session->data['vouchers']) ? count(
$this->session->data['vouchers']) : 0),
$this->currency->format($total));
?>
<a href="<?php echo $checkout; ?>"><?php echo $text_checkout; ?></a>
</div>
şu hatayı aldım: Notice: Undefined variable: total in C:\xampp\htdocs\opencart\catalog\view\theme\default\template\common\header.tpl on line 771 ürün - 0,00₺