Location in store file structure: /custom
This directory is for installation of custom libraries. Many add-ons for Pro members and/or sold at AgoraCart.com as well as AgoraCart fixes can be uploaded to this directory.
AgoraCart will automatically load the custom libraries if they are found in this directory. You may place whatever code you like in such a library, including custom shipping logic or support routines for use with agorascript and code to load other libraries. Only files ending in .pl are loaded, in fact all such files are loaded, so do not make anything other than a legitimate perl library have the .pl ending!
Those familar with PERL scripting can create sub routines and then attach to the various codehooks with in AgoraCart to extend the capabilities of AgoraCart. Also, fixes can be written and placed here. Subroutines fixed and loaded here supercede any existing versions of the sub routines, so it makes fixing or altering subroutines a snap without editing the scripts and libraries directly!
You should chmod .pl files in this directory to 644.
make sure you upload .pl files to this directory in ACSII mode.
If you are using "secondary" (aka multiple) payment gateways, place them in this directory so they will be available at checkout time! For example, zOffline will be your primary gateway set in main settings. Then you wanted to use Authorize.Net and Offline as two gateways that you wish to offer. Place copies of the the Offline-order_lib.pl as well as the AuthorizeNet-order_lib.pl files in this directory. This will load those order libraries so that they are avialable for your order processing.
|
|