[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] How to display a message in flypage about quantity?
On 30 Mar, Thomas N. Stefanidis wrote:
> How can i display this message in the flypage?
>
> if item is quantity is N/A then show message "not available"
> if item is quantity is 0(zero) then show message "suspense"
> and if item quantity is -1 then show message "special order" and display
> the "speacial order" link
>
> else show normal message (in stock)
>
> Thank you very much.
Try
[seti dummy][item-field quantity][/seti]
[if scratch dummy =~ /N/]
not available<BR>
[elsif scratch dummy < 0]
special order<BR>
[/elsif]
[else]
suspense<BR>
[/else]
[/if]
if you have a field quantity in your products file or try it with
[if-item-data inventory quantity < 1]
and so on, if you have the quantity in your inventory file.
(not tested)
Joachim
--
-------------<FreeBsd>--------------------------------------------------
Hans-Joachim Leidinger black point arts Internet Solutions GmbH
email: jojo@blackpoint.de FAX : +49 0209-398265
http://www.bpaserver.net
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users