PDA

View Full Version : OrderScript.pl


Freeze
30-Jun-2003, 05:04 PM
Hi ya

Just ammended the OrderScript.pl perl module to have a maxium transaction value.

Added in:

if ($nTotal > 45000)
{
return ($::FAILURE, "For orders over £450 please contact -- sales@flash-card-store.co.uk");
}

This works a treat -- however the error page is basic. What I would like to do is to direct to an HTML page so I can format it correctly.

Is this possible via modifying the FAILURE code???

Cheers

zmagyar
30-Jun-2003, 10:29 PM
Probably I can help if you specify the exact location of the change what you have done.

Regards,