Skip to main content

Behavior to make content pricing.

Project description

collective.behavior.price provides price related behavior to dexterity content types.

https://secure.travis-ci.org/collective/collective.behavior.price.png

Currently tested with

  • Plone-4.3.6 with Python-2.7.x [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 price with currency will be also cataloged with metadata: money.

Changelog

0.4.1 (2015-06-25)

  • Fix test. [taito]

0.4 (2013-10-28)

  • Added helper method to get money. [taito]

  • Separated schema from attributes and methods. [taito]

  • Removed dependency to five.grok. [taito]

  • Tested with Plone-4.3.2. [taito]

0.3.1 (2013-04-10)

  • Moved test packages to extras_require. [taito]

  • Tested with Plone-4.2.5. [taito]

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]

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.4.1.zip (25.4 kB view details)

Uploaded Source

File details

Details for the file collective.behavior.price-0.4.1.zip.

File metadata

File hashes

Hashes for collective.behavior.price-0.4.1.zip
Algorithm Hash digest
SHA256 025e596e0a14a4e6e66b2fc1291730aea436f4cc8e3c12a7dd4196b53c398f0a
MD5 f7add963b9bec0b567e89859d1f09e28
BLAKE2b-256 90cb1dd85b5f38cc80229bb7e3bd2e6bdde3d52f164b9b42802f87db0919c7f6

See more details on using hashes here.

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