shopping cart component for the CubicWeb framework
Project description
Summary
This cube provides a shopping cart functionality.
Usage
By default, any entity can be added to a basket (this uses the in_basket relation).
There is a box that displays all items in the basket. By default, this box is hidden. To display it, add in a view this code:
from cubes.basket.views import BasketBox
BasketBox.visible = True
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cubicweb-basket-1.5.1.tar.gz
(7.7 kB
view details)
File details
Details for the file cubicweb-basket-1.5.1.tar.gz
.
File metadata
- Download URL: cubicweb-basket-1.5.1.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81e7b897c4db5c281354c03a9c10502d6d77d4b8d62fa1fc7be1b2f3ede31aeb |
|
MD5 | af853e4963646011ee865fa27cd1cd6b |
|
BLAKE2b-256 | f50a37a76f1c2b3d56953ab71d35892bc1a44a333d1c52e47ad070937fd2d9a6 |