Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] loop-price inside [calc] Solved.



******    message to minivend-users from "Nestor A. Diaz L." <nestor@tiendalinux.com>     ******

Hi,

I finally solved this thing in the following way, i don't know if there is
other.

---------------------
[calc]
return <<EOF if $inc % 2;
[loop-field shortdesc]
EOF
return '';
[/calc]

[calc]
return '[loop-price]' if $inc % 2;
return '';
[/calc]

[calc]
return <<EOF if $inc % 2;
--------------------

thanks,

Nestor A. Diaz L.
nestor@tiendalinux.com
PGP Public Key  `wget http://www.tiendalinux.com/pgp/nestor.pgp`

----------------------------------------------------------------
    Visita  http://www.tiendalinux.com  la tienda virtual de 
  Productos y Servicios para los usuarios de Linux en Colombia

On Thu, 27 Apr 2000, Nestor A. Diaz L. wrote:

> ******    message to minivend-users from "Nestor A. Diaz L." <nestor@tiendalinux.com>     ******
> 
> Hi, i am customizing the simple demo, but i have a little problem:
> 
> if i have:
> 
> [calc]
> return <<EOF
> [loop-field shortdesc]
> [loop-price]
> EOF
> return '';
> [/calc]
> 
> the loop-price tag is not interpreted fine, well, it show me the value
> ",000" which no corresponds to the real price, if i change loop-price to
> [loop-field price] it works but with no [currency] if i put the [currency]
> it not work.
> 
> Does anyone know how can i fix it?
> 
> thanks,
> 
> p.d. i search the mail list.
> 
> Nestor A. Diaz L.
> nestor@tiendalinux.com
> PGP Public Key  `wget http://www.tiendalinux.com/pgp/nestor.pgp`
> 
> ----------------------------------------------------------------
>     Visita  http://www.tiendalinux.com  la tienda virtual de 
>   Productos y Servicios para los usuarios de Linux en Colombia
> 
> 
> -
> 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
> 

-
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


Search for: Match: Format: Sort by: