MiniVend Akopia Services

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

Re: Go to checkout only if login is successful



******    message to minivend-users from "Gideon van Gelder" <gideon@swingmaster.nl>     ******

Hi All,

Thanks for your great responses: they all come down to the same thing.
I just read my message again and realised it was formulated pretty badly.
What I meant, was, I want the customers to directly see the checkout-page,
if the login was successful, else let them see the login page again.
I'm very sorry for that (that's what you get for trying to write an email at
4 AM...)
However: I worked it out myself

Actually, I altered checkout.html:

I did this:

[if session logged_in]

[<the entire checkout page>]

[/if]


[if session logged_in]
[else]

[include pages/my login-page.html]

[/else]
[/if]


First I tried to put the [else]-tag before the first [/if] tag, but the
parser didn't recognize it that way (probably because there are a lot of
[if]'s and [else]'s in the checkout-page already.

This works great and is, in my opinion, the most customer-friendly.

-Gideon

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