Behavior to make content pricing.
Project description
collective.behavior.price provides price related behavior to dexterity content types.
Currently tested with
Plone-4.2.4 [taito]
Behavior
The behavior can be added through the web or directly through the file system to the dexterity content type xml file like:
<property name="behaviors"> ... <element value="collective.behavior.price.interfaces.IPrice" /> ... </property>
You may also set currency through content registry and content price with currency will be also cataloged with metadata called money.
Installation
You may list collective.behavior.price to buildout.cfg or setup.py in your own package.
zc.buildout and the plone.recipe.zope2instance
Use zc.buildout and the plone.recipe.zope2instance recipe by adding collective.behavior.price to the list of egg:
[buildout] ... eggs = ... collective.behavior.price
Dependency to your own package
You may also list to install_requires to setup.py within your package.
Changelog
0.3 (2013-02-07)
Added column: price to catalog metadata. [taito]
Tested with Plone-4.2.4. [taito]
Integrated to Travis CI. [taito]
0.2.1 (2012-11-04)
Updated method: _set_price to cover edge case when value is None. [taito]
Tested with Plone-4.2.2. [taito]
0.2 (2012-09-17)
Finnish translations added. [taito]
0.1 (2012-08-28)
Initial release. [taito]
Contributors
Author
Taito Horiuchi <taito.horiuchi at gmail.com>
Credits
The Finnish Association for Nature Conservation (Suomen Luonnonsuojeluliitto).
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
File details
Details for the file collective.behavior.price-0.3.zip
.
File metadata
- Download URL: collective.behavior.price-0.3.zip
- Upload date:
- Size: 25.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 790d0f0655b430ddea50ed07b18cac97b013a40a0e0671d033bf0b32ce71a463 |
|
MD5 | 444f455718d3b6ef829b7d7315a160fa |
|
BLAKE2b-256 | 2fa30d3c53a59dc116bee0e6408c47ceb07477ea84d3907556b312d5b797b1f5 |