Sample Application for the CakePHP Cart plugin:
PHP Other
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

CakePHP Cart Plugin - Sample Application

This is a sample application for the CakePHP Cart plugin:

This sample application is thought to show how the cart plugin can be used and is not thought as an example of a shop application!

This is, same as the cart, still work in progress.

The Cart plugin itself is MIT licensed, this sample app GPLv2 because it is thought for eductional use.


git clone git://
cd CartSampleApp
git submodule update --init

In app/Config/ create your database.php. You can take a look at the database.default.php as an example. After you created that file you need to create and populate the database:

cd app

On *nix systems run instead of .bat

It will create an user for you, you can login with and the password is "password". There will be a few items to play with.

The plugin is also implementing a dummy checkout process.

Sample Data


There are two users you can login with:

Password: password


Password: password

The customer wont have access to the admin backend, thats all.


The app comes with a few items with different data to test different scenarios. By looking at the item list they should be selfexplaining.

Copyright & License

Copyright (c) 2012 Florian Krämer.

CartSampleApp is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

CartSampleApp is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with CartSampleApp. If not, see <http ://>.