PDA

View Full Version : How can I extend the time that the Minimum/Maximum Order Value message is displayed..


KB
22-Nov-2009, 10:32 AM
How can I extend the time that the Minimum/Maximum Order Value message is displayed on screen?

If you have set up a Minimum or Maximum order value in 'Business Settings | Ordering', your customers are shown a message when trying to check out if they and not reached the minimum or exceeded the maximum:



By default, this message is shown for 5 seconds but you can change this by doing the following:

* browse to your site folder
* locate the 'ActinicOrder.pm' file (take a backup)
* open this file with a text editor such as notepad
* search for:

# Show warning for 5 seconds

* you should see:

my $nDelay = 5; # Show warning for 5 seconds

* change '5' to however many seconds you would like the bounce to be delayed for
* close and save the file
* update your site.

Actinic is not able to provide any detailed support for script changes made. If you find that there is a problem, an original copy of the script can be found within the 'Original' folder in your installation. Copy this into your site folder or restore your backup.