Akopia Akopia Services

[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 John Beima <jbeima@reality.palb.com>     ******

Actually there is a far simplier way of doing this...

Take the Place Order buttong at the bottom and put an is session logged in 
around it. This way if no one is logged in the button does not appear. If they 
are it is.

I also do this at the top of the page to remind them to login if they are not. 
Then link to the login page.

[if session logged_in]
<CENTER>
<FONT SIZE="+1">
<B>
<INPUT TYPE=submit NAME=mv_click VALUE="Place Order!">
</B>
</FONT>
</CENTER>
<BR>
[/if]

John Beima
jbeima@palb.com


Quoting Sebastian Wain <swain@helicoid.com>:

> ******    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
> 



John Beima
jbeima@palb.com

P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
-
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: