php smarty not passing to browser unless logged in.
- by Kyle Sevenoaks
I'm not the best at understanding these things with php and smarty, but this is really annoying.
On: http://www.euroworker.no/order, there is meant to be a display of the amount of tax included in the price like:
Tax (25%): 772,-
Totalt: 3861,-
But unless the user has logged in or created a new account, the tax doesn't display.
Here is the Smarty code:
<tr id="taxtr">
<td> </td>
<td> </td>
{foreach $cart.taxes.$currency as $tax}
<td> </td>
<td colspan="4" class="subTotalCaption2">{$tax.name_lang}: </td>
<td class="amount taxAmount2">{$tax.formattedAmount} </td>
{$cart.formattedTotal.$currency
{$GLOBALS.cartUpdate|@array_shift}
{/foreach}
</tr>
I don't know about all the inner workings of this system (Livecart), but is there anything I can do or look through to make it force the calculation/display.
Thanks..