[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] [if [scratch variablename]


On Sun, 25 Feb 2007 15:47:16 +0900
Frank Reitzenstein <suppressed> wrote:

> Hello,
> 
> See the right square bracket in red?
> 
> [if [scratch weightofoption] ]

[if scratch weightofoption]   ....


>    [seti weight][summary amount='[scratch weightofoption]'][/seti]
> [else]
>    [if-item-field weight]
>    [seti weight][summary amount=`[item-quantity] * [item-field
> weight]`][/seti]
>    [/if-item-field]
> [/else]
> [/if]
> 
> Well I can get this code to work with or without that right bracket.
> However if I add the right bracket it shows in my html (as errors do).
> 
> But leaving it out is ungrammatical right?
> 
> Is this a bug, or it it just because I live down under and break all the
> rules?
> 
> For those who are interested I created a new custom Options::Simple
> module which shows discount prices for options:
> 
> http://www.aussievitamin.com/10035.html
> 
> The code above sets option weights for cart and checkout,
> 
> Regards,
> 
> Frank Reitzenstein.
> _______________________________________________
> interchange-users mailing list
> suppressed
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.