Cartweaver 2 PHP FAQ, code changes, and samples
Locale Information
Try these if you cannot obtain locales from your network administrator.
Linux Locales on my Linux server
Windows Locales on my Windows server
Locale workaround for servers that have problems with locales.
Cartweaver Modifications and Hints
These are some modifications requested by various customers, not endorsed or supported by Cartweaver or me. Use at your own risk.
Sorting Option Type Names in Table Heading
Creating an XML (or RSS) File for Products
Force a user login before accessing the site
Import an existing Customers table
Importing Existing Products/Categories tables
Add a comments field to the order
Add credit card info to the database
Remove username/password restriction
Add Horizontal Looper to Results
Create minimum amount for order
Display Add To Cart in Results Page
Displaying an Add To Cart link in the Results Page
Building a Digital Downloads Store
Add a common shipping method to every country
Remove all shipping information from display
Create an unordered list for search links
Creating a low-stock warning in the CW admin
Use the CW calendar script in your site
Adding BCC to the Email Message
Automatically change totals in cart when shipping method changes
Cartweaver-related Community MX Articles
Using JumpStarts with Cartweaver, Featuring Minneapolis-- Basic article on merging Cartweaver with a Community MX Jumpstart or other page design
Moving Data into an Existing Database-- How to merge an existing database with a new database (such as the CW database)
PHP Site Simplification with Application.php-- Cartweaver uses the concept of an "application.php" file, which is just a simple file included on every page that contains connections and other needed info for the site.
File Downloads for an E-Store-- ColdFusion article how to use an e-store to manage file downloads.
Payment Gateway Hints
There are literally hundreds of payment processors out there. We support a few out of the box, but it is not too difficult to add
a new payment processor using an existing gateway/processor as a guide.
Basically there are two types: gateway or processor. A gateway communicates
behind the scenes (like authorize.net) and processes the transaction in realtime, and a processor passes a form to the
third-party web site and credit card data is collected there (like Paypal.)
The basic procedure is to get the API from your payment processor, and
use one of our payment processor files as a guide. Modify the form values in the file to use the names specified by your
processor (for example, it might use "x-lastname" or "UserLastName" or "LastName"). Once you do this, you should be able to turn on the debugging email functionality, post test transactions to your payment processor, and proceed from there.
If you find out about the API and want me to take a look at
it, let me know through my contact form. In the past I have converted payment processor files for
customers for a fee, but it does not always fit into my schedule.
Modifications
For all Cartweaver modification requests, I will charge the following standard fees:
- Estimate of time and level of effort: Free
- Hourly rate for PHP modifications: $120, with 1 hour minimum.
- Hourly rate for ColdFusion modifications: $120, with 1 hour minimum.
- Flat fee to set up Cartweaver PHP on a remote web host: $100
- Flat fee to set up Cartweaver ColdFusion on a remote web host: $100
- Flat fee to import up to 5000 products on a remote web host: $250
- Flat fee to import up to 5000 customers on a remote web host: $250
To make full use of the time and effort, have everything in place in preparation for the modification. I need the login details for Cartweaver, FTP login details, web host login details, and database login details, if applicable. I will write the code and apply it to the web site to make sure it works. I retain the rights to all code written, for possible future use in Cartweaver.



Blog RSS feed













