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.3.2 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 (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.zip (24.9 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for collective.behavior.price-0.4.zip
Algorithm Hash digest
SHA256 28fde6202fe4f1a306ed1ace8088b5c5ffac6e72046401f6878da0065ade8c04
MD5 e447dbc80ea97857c28b1ed3c620e446
BLAKE2b-256 97fc3d4814d74fd14660b699e4a3be7689ca611fe2839fdc5185486ba1011e00

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