[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: error messages processing order
****** message to minivend-users from Andreas Kotowicz <koto@mynetix.de> ******
At 11:05 14.05.99 -0400, you wrote:
>****** message to minivend-users from Larry Leszczynski
><larryl@furph.com> ******
>
>Hi Andreas -
>
>> [14/Mai/1999:16:13:50 +0200] simple /cgi-bin/simple/order Safe: syntax
>> error at (eval 44) line 1, near "( ||"
>> >
>> > 1 * ( || 0)
>> >
>
>The demo files ord/basket.html and ord/checkout.html both have a line like
>this to calculate to total weight of the order:
>
> [summary
> amount="[calc][item-quantity] * ([item-field weight] || 0)[/calc]"
> hide=1]
>
>If you don't have a "weight" column in your database, or the weight field
>is empty for an item, you get "[calc]1 * ( || 0)[/calc]" which is invalid
>perl syntax.
ok, this problem is solved. so just this one remains:
simple /cgi-bin/simple/process Too many chained cost levels for item
{'code' => 'DEFAULT','mv_price' => '45','quantity' => '45'}
any solutions anyone ?
Andreas
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list