Perhaps my 2 cents worth...

I noticed some incorrect behavior, in FreeTrade 1.0.3, it has to do with the
global setting of
"SHOPPER_MUST_REGISTER" that's defined in the global section.

The only time that this is check (this definition) is in the
"modules/content" file, thus when looking at your basket.

If I hit, "Checkout" or "Express Checkout" I can skip this "requirement" I
set.

Meaning, I wish for all my customers to register & create a login name and
password, so they can track their, orders and history.

Thus, I added a fast test in the "order_info" and "order_express" screens...
mainly like so...

if ( (SHOPPER_MUST_REGISTER) AND !(isset($UserInfo["ID"] &&
$UserInfo["ID"]>0)
{
        //complain, and show them the 'register' & login links...
}else {

        // Get item from invoice glob.

}

I 'elsed' the first glob of code, because from that point on, you use the
$continueScript var to control if the code should continue or not.




------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:            http://www.working-dogs.com/freetrade/
Problems?:       [EMAIL PROTECTED]

Reply via email to