Download the PHP package acplo/acplocart without Composer
On this page you can find all versions of the php package acplo/acplocart. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download acplo/acplocart
More information about acplo/acplocart
Files in acplo/acplocart
Download acplo/acplocart
More information about acplo/acplocart
Files in acplo/acplocart
Vendor acplo
Package acplocart
Short Description Cart in ZF2
License BSD-3-Clause
Homepage https://github.com/acplo/AcploCart
Package acplocart
Short Description Cart in ZF2
License BSD-3-Clause
Homepage https://github.com/acplo/AcploCart
Please rate this library. Is it a good library?
Informations about the package acplocart
AcploCart
Version 1.0
This model allows you to manage a shopping cart for e-commerce in an easy, simple and fast.
Installation
For the installation uses composer composer.
Add this project in your composer.json:
"require": {
"acplo/acplocart": "0.0.1"
}
Post Installation
Configuration:
- Add the module of
config/application.config.php
under the arraymodules
, insertAcploCart
- Create a file named
acplocart.global.php
underconfig/autoload/
. - Add the following lines to the file you just created:
Example
Insert
Update
Remove
Destroy
Cart
Total
Total Items
Items Options
Example in view
Controller
View
Function Reference
Function | Description |
$this->AcploCart()->insert(); | Add a product to cart. |
$this->AcploCart()->update(); | Update the quantity of a product. |
$this->AcploCart()->remove(); | Delete the item from the cart. |
$this->AcploCart()->destroy(); | Delete all items from the cart. |
$this->AcploCart()->cart(); | Extracts all items from the cart. |
$this->AcploCart()->total(); | Counts the total number of items in cart |
$this->AcploCart()->total_items(); | Counts the total number of items in cart |
$this->AcploCart()->item_options(); | Returns the an array of options, for a particular product token. |
Config Vat | Set your vat in acplocart.global.php |
Contributors
- Concetto Vecchio - [email protected]
All versions of acplocart with dependencies
PHP Build Version
Package Version
The package acplo/acplocart contains the following files
Loading the files please wait ....