[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Strange Parsing Things in the Minivend World
****** message to minivend-users from Sebastian Wain <swain@helicoid.com> ******
I finally did a
[if type=explicit compare="[calc] [nitems] > 0 [/calc]"]
[and.............
.
.
.
[/if]
Thank You
Sebastian Wain
On Sun, 15 Oct 2000 01:48:38 -0300
Sebastian Wain <swain@helicoid.com> wrote:
> ****** message to minivend-users from Sebastian Wain <swain@helicoid.com> ******
>
> Well, here again!!!
>
> My checkout process is very easy, if you don't have items you see that error, if you have items and you are logged_in then you can
> put your information in the form, but if you didn't logged_in then you have to login.
>
> The code is very straightforward, but... the strange thing is... it's running good when you have 0 (zero) or 1 (one) item in your shopping cart, if you have more than 1 (>=2) then the parsing is incorrect, it's I saw the __CUSTOMER_DATA_CHECKOUT__ and __CUSTOMER_LOGIN_CHECKOUT__ the if doesn't seem to do a god job.
>
>
> In my checkout page I have something like:
>
> ------------------------------------------------------------------
> [if session failure]
> Login error, username or password incorrect.<BR>
> [/if]
>
>
>
> [if items]
> [and session logged_in]
> <!--------------------------- Show the data to fill ----------------------------------------------------->
> __CUSTOMER_DATA_CHECKOUT__
> <!------------------------------------------------------------------------------------------------------->
> [/if]
>
> [if items]
> [and !session logged_in]
> <!--------------------------- Checkout Login ------------------------------------------------------------>
> __CUSTOMER_LOGIN_CHECKOUT__
> <!------------------------------------------------------------------------------------------------------->
> [/if]
>
> [if !items]
> [and !session failure]
> You don't have items in your cart.
> [/if]
> --------------------------------------------------------------------------
>
>
> Thank You
> Sebastian Wain
> -
> 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