Skip to main content

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

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

collective.behavior.price-0.3.zip (25.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page