- 18 Abr 2013, 01:20
#38218
Ola,
estou fazendo um tema novo do opencart com base no tema default, no arquivo
"catalog/view/theme/default/template/module/cart.tpl"
existe essa linha de codigo
estou fazendo um tema novo do opencart com base no tema default, no arquivo
"catalog/view/theme/default/template/module/cart.tpl"
existe essa linha de codigo
Código: Selecionar todos
em qual parte do painel de controle eu vou para que eu possa listar esse foreach?<?php foreach ($vouchers as $voucher) { ?>
<tr>
<td class="image"></td>
<td class="name"><?php echo $voucher['description']; ?></td>
<td class="quantity">x 1</td>
<td class="total"><?php echo $voucher['amount']; ?></td>
<td class="remove"><img src="catalog/view/theme/default/image/remove-small.png" alt="<?php echo $button_remove; ?>" title="<?php echo $button_remove; ?>" onclick="(getURLVar('route') == 'checkout/cart' || getURLVar('route') == 'checkout/checkout') ? location = 'index.php?route=checkout/cart&remove=<?php echo $voucher['key']; ?>' : $('#cart').load('index.php?route=module/cart&remove=<?php echo $voucher['key']; ?>' + ' #cart > *');" /></td>
</tr>
<?php } ?>




