Shopping Cart Solutions
Dick Copits - Smart-Choices.org   
Navigation

Home Page
Contact Page
Mailing List

Smart Choices Home Page


PDEstore

About PDEstore
PDEstore Demo
Download PDEstore
Install PDEstore
Support Forum


PPALstore

About PPALstore
PPALstore Demo
Download PPALstore
Install PPALstore
Support Forum


 





PDEstore Installation Instructions
These installation instructions apply to PDEstore 1.8 and should be viewed as a "work-in-progress" and will be expanded on as I receive feedback.

After extracting the files you should have two directories; pdestore--cgi-bin
pdestore--html

1. Make sure the first line (#!/usr/local/bin/perl) is pointing to Perl correctly on your server.

Escape all special characters! Do not use programs such as Word, Frontpage, Dreamweaver, PageMill, WordPad etc since they may add hidden characters, strip returns, etc all of which can corrupt cgi scripts. Use as simple a text editor as possible.

2. Create two directories named pdestore. One in your cgi-bin the other in the directory where you install HTML files. (http://www.your.domain/pdestore/)

3. Change all variables as described within the script (designated by CAPS) The paths for the included files are okay if you followed step 2. Leave Font Attributes, Subject, Body, Sales Tax, Discount and Shipping variables as they are for now.

4. Upload all pdestore--cgi-bin to your cgi-bin/pdestore in ascii/text format.

cgi-bin --> pdestore --> pdestore.cgi
cgi-bin --> pdestore --> carts
cgi-bin --> pdestore --> data --> data.file
cgi-bin --> pdestore --> data --> order.log
cgi-bin --> pdestore --> manager --> manager.cgi

5. Upload all pdestore--html to your other pdestore directory in ascii/text format.

pdestore --> footer.html
pdestore --> header.html
pdestore --> store.html
pdestore --> orderform.html
pdestore --> images --> all images (binary format)
pdestore --> options --> all option files

If your host requires the use of a specific directory at the root directory you must edit the PATHS for the .html files in the script

Do not use Binary format and do not use Frontpage extensions to upload the file. Do not use "all-in-one" web programs. Keep it simple and use a program such as CuteFTP or WS-FTP for Windows or Fetch for Macintosh.

5. Chmod pdestore.cgi and manager.cgi 755, chmod data directory, data.file and carts directories 777, chmod order.log 666.

6. Call the store script using your full URL to pdestore.cgi:
http://www.your.domain/cgi-bin/pdestore/pdestore.cgi?store.html

7. Place an order to check that you have sendmail set properly.

8. Set the remaining variables (Font Attributes, Subject, Body, Sales Tax, Discount or Shipping) skipped in step 3 for your specific needs. Follow default settings as examples.

9. Configure the appearance and links for your store by modifying store.html, header.html, footer.html and orderform.html. Please leave my copyright information in the footer but feel free to add your own information above it.

10. Create links on your store.html for any new categories you would like to use. Follow this format:

<A HREF=pdestore.cgi?product=CATEGORY&cart_id=>CATEGORY</a>

Note that you can use a text link, image link or both.

Since the option files are critical to your store, please understand how to modify them by following any of the existing option files provided. They are pretty much self-explanatory but here's a quick review:

<SELECT NAME = "option|1|%%PRODUCT_ID%%">
<OPTION VALUE = "No Gift Card Selected">Gift Card
<OPTION VALUE = "No Gift Card">- - - - - - - - - -
<OPTION VALUE = "Gift Card + $|2.00">Yes +$2.00
<OPTION VALUE = "No Gift Card">No
</SELECT>

You can use as many options as is practical, always remember to increment the option by changing the number between the hash marks (|1|)

<SELECT NAME = "option|1|%%PRODUCT_ID%%">

Note how this formatting adds $2.00 to the purchase price when selected:

<OPTION VALUE = "Gift Card + $|2.00">Yes +$2.00

Remember to protect your manager script with .htaccess!

If you are still having difficulty with your installation pleae consult with the installation support forum. If you would prefer to have PDEstore installed for you, we can install the PDEStore cart on your site for $65.00 per hour, with a one-hour minimum. For customization or debug/diagnosis of existing sites, contact us for rates and availability at dickcopits@smart-choices.org. Shopping Cart Creation/Configuration support is also available for $50.00 per hour with a three hour minimum.

If everything went well and you would like to say "Thanks Dick!" Click on the PayPal image and you can generously donate $10.00 U.S. as a gesture of appreciation and encouragement for future scripts.

Thank you!

PDEstore Support Forum