funayaki/cakephp-cart-plugin

Shopping Cart Plugin for CakePHP that will work with any table and make it's records buyable.

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 29

Type:cakephp-plugin

dev-develop 2018-07-13 07:15 UTC

This package is not auto-updated.

Last update: 2024-04-21 05:15:31 UTC


README

A CakePHP shopping cart plugin.

The cart plugin is a stand alone cart only plugin, no payment processors are included you'll have to write them or get them from somewhere else.

Cake3 Version of the Plugin

There is a CakePHP 3.x version of the plugin which is not going to be open sourced , but I'm looking for somebody who is interested in testing it. Please contact me if you're interested.

Requirements

Features

  • Make any of your models a buy-able item with just a few steps
  • CartManager - handles the cart, adding and removing items from it
  • Buy items via HTTP POST or GET
  • Saves the cart to session
  • Saves the cart to a cookie to make it persistent if not logged in
  • Saves the cart to DB if user is logged
  • Most, if not all steps are customizable by Events
  • Allow/deny anonymous checkouts

Documentation

For documentation, as well as tutorials, see the Docs directory of this repository.

Support

For bugs and feature requests, please use the issues section of this repository.

Contributing

To contribute to this plugin please follow a few basic rules.

Versioning

Given a version number MAJOR.MINOR.PATCH, increment the:

MAJOR version when incompatible API changes are made, MINOR version when functionality in a backwards-compatible manner is changed, and PATCH version when backwards-compatible bug fixes are made.

License

Copyright 2012 - 2014, Florian Krämer

Licensed under The MIT License Redistributions of files must retain the above copyright notice.