Hello,
Does anyone know what the options are for the my cart page?
I want to display the cart total, but I can't find the correct option.
I have tried $carttotal which works in the cart view page, but it results in a null value in the my cart page.
here's my template:
(the $cart_itemcount works fine)
Code: Select all
{* mycart form template *}
{$formstart}
<table align="center" width="100%">
<tbody>
<tr>
<td align="left" border="0">
<strong>商品の数: </strong></td><td align="left"><strong>{$cart_itemcount}</strong></td></tr>
{if isset($submitname)}
<tr>
<td align="center"><strong>かごの合計:<br />(税込み) </strong></td>
<td>{math equation='x * y' x=$carttotal y=1.05 assign='tmp2'}{$tmp2|number_format:0}{$currencysymbol}
</td>
</tr>
{/if}
</tbody>
</table>
<div align="center"><input type="button" id="kagoni" name="kagoni" onclick="window.location='index.php?page=kago'" value="買い物かご"/>
</div>
{$formend}
<br />
Ben