[ic] Problems with assign handling at checkout
Stefan Hornburg
racke at linuxia.de
Mon Oct 6 12:34:53 EDT 2003
On Sun, 5 Oct 2003 23:45:25 +0100
"Andrew Smith" <a_w_smith at ntlworld.com> wrote:
>
> Hi All,
>
> I am trying to add a handling charge at checkout for Paypal, to get
> things going I am trying to add a flat cost of 5% the total. It seems
> whatever I do I can never get any handling charge to appear at the
> checkout at all.
>
> I currently have these lines in checkout:-
>
> <INPUT TYPE=hidden NAME=mv_handling VALUE=add>
> [assign handling="[calc][total-cost] * 0.05[/calc]"]
>
> It doesn't do anything, I've also tried using [subtotal] instead of
> [total-cost] but nothing displays or adds a handling charge.
>
> Please help....
Try:
[calc][total-cost noformat=1] * 0.05[/calc]
For calculation you need a number, not a string with the currency.
Ciao
Racke
--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team
More information about the interchange-users
mailing list