# Store and Shopping Cart For Your Website

## About

CornerStore is an easy-to-install and easy-to-use store app for your website.  It features product categories, support for as many products as you like, multiple product images per product, and easy integration with PayPal for payment processing.  CornerStore is written in pure Perl, and the only other requirement is MySQL.  Since both of those are available on the vast majority of servers, that means CornerStore can run on pretty much any website.

## Live Demo

CornerStore powers the shopping cart here on encodable.com, so you can see a live demo at encodable.com/cart/.  Of course, there's more to CornerStore than just the shopping cart; you can see more in the screenshots and in the trial version.

## Screenshots

Here are screenshots of some of CornerStore's pages:

## Features

• Simple installation: just upload the "cgi-bin" and "store" folders to your website, edit a few settings in the prefs file, and you're ready to go.
• Simple configuration: all configuration is done within a single plain text file, your cornerstore_prefs.cgi file.  Day-to-day operations like creating and editing items to sell, and creating/editing product categories, are done through the web browser.
• Appearance is fully customizable via standard CSS styling.
• Supports an unlimited number of items for sale, and unlimited product categories.
• Unlimited custom per-item options (such as size, color, etc), which can optionally include price adjustments (for example if certain colors for a given item should be more expensive)
• Easy payment setup: just create a PayPal account, then enter your email address into the $PREF{paypal_payment_recipient_address} setting, and you're done. • Supports product images, including multiple images per item. • Supports promo codes, including both percentage discounts and dollar-amount discounts. • Can integrate with FileChucker for easy selling of any files in your FileChucker folders. • Built-in password protection, with optional support for UserBase user accounts. • Supports both HTTP and HTTPS, for sites that have SSL encryption certificates. • Works on virtually any server (known to work on Apache, IIS, Windows, Linux, and OS X Server) and any client (tested in Mozilla/Firefox, Opera, Internet Explorer, Safari, and Chrome). • For more, see the FAQ and the cornerstore_prefs.cgi file in the trial version. ## Download You can download the trial version of CornerStore to try it out on your website. The trial version has several features disabled, including checkout, password protection, and email notification, and the item catalog is limited to 7 items. ## Purchase To get the full version of CornerStore, please use the buttons below. Note: the 1-, 3-, and 10-website license refers to the number of separate websites that you'd like to install CornerStore on. It does not refer to the number of items that you can sell; that is unlimited. CornerStore Full Version: 1-Website License$39.99
3-Website License
$89.99 10-Website License$249.99
Instant credit card payments through PayPal.
No sign-up required!
CornerStore Installation Service:
Let us install it for you.
\$29.99

## Quick Instructions for Most Servers (Apache on Linux, Mac OS X, BSD)

Most servers already have MySQL installed, but if yours doesn't, then download and install the free MySQL Community Server, and then create a database and a MySQL user account.

Unzip your cornerstore.zip file, then upload the contents of the www.example.com folder onto your website.  Then visit the following address, replacing example.com with your own domain name:

www.example.com/cgi-bin/cornerstore.cgi

If you see a message about adjusting your database prefs, then CornerStore is working properly.  You should now read the FAQ.

If nothing works, read the full instructions.

## Quick Instructions for Apache-on-Windows Servers

If your server doesn't already have Perl installed, download and install the free ActivePerl.  You may need to reboot after installing it.  Open a command prompt and type   perl -v   and if you get some output about Perl and its version info, you should be all set.

If you had to install Perl, you'll also need to install the DBD::MySQL Perl module (and probably the MIME::Lite module) by opening the Run dialog or a command prompt and then typing ppm install DBD-mysql (and then ppm install MIME-Lite).  Or you can run just the ppm command by itself to use the graphical installer.

Now follow the regular Apache instructions.

## Quick Instructions for IIS-on-Windows Servers

If your server doesn't already have Perl installed, download and install the free ActivePerl.  You may need to reboot after installing it.  Open a command prompt and type   perl -v   and if you get some output about Perl and its version info, you should be all set.

If you had to install Perl, you'll also need to install the DBD::MySQL Perl module (and probably the MIME::Lite module) by opening the Run dialog or a command prompt and then typing ppm install DBD-mysql (and then ppm install MIME-Lite).  Or you can run just the ppm command by itself to use the graphical installer.

If your server doesn't already have MySQL installed, download and install the free MySQL Community Server.  Once it's installed, create a database and a MySQL user account.

Unzip your cornerstore.zip file, then open the www.example.com folder and move the contents of the cgi-bin folder into the store folder.  Then delete the cgi-bin folder.  Upload the "store" folder onto your website, then visit the following address, replacing example.com with your own domain name:

www.example.com/store/cornerstore.cgi

If you see a message about adjusting your database prefs, then CornerStore is working properly.  You should now read the FAQ.

If nothing works, read the full instructions.

## Full Instructions for Most Servers (Apache on Linux, Mac OS X, BSD)

Want us to install it for you?  Just purchase the CornerStore Installation Package.  We also provide customization and integration services -- just ask!

Note I: Do not edit the cornerstore.cgi file unless absolutely necessary; instead, edit cornerstore_prefs.cgi for all your customizations.

Note II: if you are using Windows on your desktop, and when you open the *.cgi file, the lines all appear to be crunched together, try opening it in Wordpad (not Word) instead.  In Wordpad, save the file; this should fix the line-endings so the file's contents appear correctly in other editors like Notepad.

On your website:

1. First, complete the quick instructions.
2. Set the permissions on /cgi-bin/cornerstore.cgi (aka, chmod it) to world-readable and world-executable, that is, a+rx or mode 0755.  Do NOT use 0777.
3. Set the permissions on the /cgi-bin/encdata/ directory to world-readable, -writable, and -executable, that is, a+rwx or mode 0777.
4. In your browser, go to yoursite.com/cgi-bin/cornerstore.cgi and follow the brief instructions that it gives you.  (It will instruct you to set the database options in cornerstore_prefs.cgi.)
5. If you get an Internal Server Error, it's most likely a permissions problem.  See this page for more details.
6. (Optional) For maximum security, consider purchasing and installing an SSL certificate on your server.  This allows you to use https:// URLs instead of http:// URLs, which encrypts all communications between your website and its visitors.
7. Read the FAQ.

CornerStore is now ready to use, and you can access it by visiting yoursite.com/cgi-bin/cornerstore.cgi (or yoursite.com/store/ if your server supports it).

## Full Instructions for Apache-on-Windows Servers

Want us to install it for you?  Just purchase the CornerStore Installation Package.  We also provide customization and integration services -- just ask!

Note I: Do not edit the cornerstore.cgi file unless absolutely necessary; instead, edit cornerstore_prefs.cgi for all your customizations.

Note II: if you are using Windows on your desktop, and when you open the *.cgi file, the lines all appear to be crunched together, try opening it in Wordpad (not Word) instead.  In Wordpad, save the file; this should fix the line-endings so the file's contents appear correctly in other editors like Notepad.

On your website:

1. First, complete the quick instructions.
2. In your browser, go to yoursite.com/cgi-bin/cornerstore.cgi and follow the brief instructions that it gives you.  (It will instruct you to set the database options in cornerstore_prefs.cgi.)
3. If it doesn't execute or you get errors, you may need to change the first line of the cornerstore.cgi file from #!/usr/bin/perl to either #!perl or #!c:\path\to\perl.exe
4. If it doesn't execute or you get errors, you may need to rename the script and its prefs file from a .cgi extension to a .pl extension.
5. If you get errors about CornerStore being unable to delete something from the encdata folder, you may need to set a "Delete" bit on the folder's properties.
6. (Optional) For maximum security, consider purchasing and installing an SSL certificate on your server.  This allows you to use https:// URLs instead of http:// URLs, which encrypts all communications between your website and its visitors.
7. Read the FAQ.

CornerStore is now ready to use, and you can access it by visiting yoursite.com/cgi-bin/cornerstore.cgi (or yoursite.com/store/ if your server supports it).

## Full Instructions for IIS-on-Windows Servers

Want us to install it for you?  Just purchase the CornerStore Installation Package.  We also provide customization and integration services -- just ask!

Note I: Do not edit the cornerstore.cgi file unless absolutely necessary; instead, edit cornerstore_prefs.cgi for all your customizations.

Note II: if you are using Windows on your desktop, and when you open the *.cgi file, the lines all appear to be crunched together, try opening it in Wordpad (not Word) instead.  In Wordpad, save the file; this should fix the line-endings so the file's contents appear correctly in other editors like Notepad.

On your website:

1. First, complete the quick instructions.
2. In your browser, go to yoursite.com/store/cornerstore.cgi and follow the brief instructions that it gives you.  (It will instruct you to set the database options in cornerstore_prefs.cgi.)
3. If it doesn't execute or you get errors, you may need to complete one or more of these steps (most are not necessary on most IIS servers, so try one at a time):

Rename the script and its prefs file from a .cgi extension to a .pl extension.

Change the first line of the cornerstore.cgi file from #!/usr/bin/perl to either #!perl or #!c:\path\to\perl.exe

For the /store/encdata folder, do the following: right-click on the folder, choose Properties, and go to the Security tab.  Find or add the IUSR_computername account, and give it "Full Control".  This account is sometimes called the Internet Guest Account.

Run the inetmgr command and change the CGI web service extension from "prohibited" to "allowed".

Run the inetmgr command and right-click on the website and choose Properties.  Go to the "Home Directory" tab, then to "Application Settings", and set "Execute permissions" to "Scripts and Executables".

Run the inetmgr command and go to "Application Settings" then "Configuration", and add an application extension for .cgi (and .pl) with the executable set to: C:\Perl\bin\perl.exe "%s" %s

If you get errors about CornerStore being unable to delete something from the encdata folder, you may need to set a "Delete" bit on the folder's properties.
4. (Optional) For maximum security, consider purchasing and installing an SSL certificate on your server.  This allows you to use https:// URLs instead of http:// URLs, which encrypts all communications between your website and its visitors.
5. Read the FAQ.

CornerStore is now ready to use, and you can access it by visiting yoursite.com/store/cornerstore.cgi (or yoursite.com/store/ if your server supports it).

## Support

For many issues, the best place to get support is in the FAQ.

If you are getting an Internal Server Error message when you try to access CornerStore on your server, please try the solutions on our Internal Server Error page.

If you're getting errors about missing Perl modules, please see our instructions on how to install Perl modules.

If you still need help, you can contact us.

## ChangeLog

v2.00 (20120311):

• First public release, after several years of usage on our own sites and on a few select client sites.

# Shopping Cart

Your cart is empty.

# Client Quotes

I can't thank you enough, I was up against a deadline that required me to get this up and running in 48 hours and you have probably the best customer service I've ever seen.
– Dan T.
I spent ages trying to find a way of making my own log in page for my website - if you're thinking of doing that forget it - don't waste your time!  UserBase is a 1st class product at a very reasonable price.  The software works faultlessly and can be adapted to any situation.  The service that I have received from Encodable is terrific!  I am very very impressed.  Nothing was too much trouble and I am most grateful to Anthony DiSante in particular for all his help and patience.
– Paul S.
Worked like a charm... man, this piece of software is a dream and I really appreciate all your customer service help getting this taken care of.
– Kyle M.
I just want to say you guys really stand alone in that you have a quality product and you provide genuine customer service.  It's sad but those qualities are seldom found separately, much less together.  Thanks again for your time and help.
– Alex S.
I wanted to tell you that I was very skeptical about buying this script.  I've spent a lot of time and money over the past 3 months trying to find a solution that works, but I ended up having problems with so many of the scripts I tried that I was almost to the point of giving up.  But then I came across your script, and it actually does what it's supposed to.  An absolute wow.  A very impressive and powerful script indeed!  Many, many thanks!
– Mike E.
Your scripts/software are the greatest, I mean I really love how customizable they are, how intuitive they are, and so on.  Thanks again, I love this stuff!
– Tucker O.
We searched for a long time for an application to password protect directories and allow file uploads.  Userbase & Filechucker are far superior to anything out there.  Simple yet powerful programming, extremely flexible in configuration, and great customer service.  Thanks for a superb product.
– Kat G.
Thank you VERY much for all of your help.  You've really impressed me.  We have support agreements for other software that costs thousands of dollars / year (just for the support), and most of them aren't as helpful as you have been.
– Keith Y.
There are a lot of these scripts out there, but I think they all pale in comparison to yours.
– Peter W.
The software has some great features, is well presented, runs where others are problematic and will make a good impression on our clients.  We look forward to reaping its benefits!
– Alex H.
I just installed the demo of your product and got it up and running in no time.  I searched high and low for a decent login script and thank God I found yours.
– Adrian F.