Not supported (i.e. abandoned), and no longer being developed. Learn more about dealing with unsupported (abandoned) projects

Commerce Custom Product Pricing

Adds pricing support for custom product (custom line item type) field options. Only option-based fields are supported.

Included modules

  • Customizable Products Pricing (commerce_custom_product_pricing)
    Core API
  • Customizable Products Pricing UI (commerce_custom_product_pricing_ui)
    Provides UI for defining the wrapper and symbol used when displaying prices.
  • Customizable Products Pricing - Entity Reference (commerce_custom_product_pricing_er)
    Add support for Entity Reference fields.
  • Customizable Products Pricing - Entity Reference UI (commerce_custom_product_pricing_er_ui)
    UI for adding pricing rules.

How it works

Option-based fields may implement hook_commerce_custom_product_pricing_calculate_option_price_alter() to determine a line item field option's price.
This allows one function call to be used both for getting the price when displaying on the Add to Cart form and potentially also when calculating the line item's price.

The core module does not implement anything, so prices will be 0 unless you create a module that implements that alter.

Customizable Products Pricing - Entity Reference

Pages

Subscribe with RSS Subscribe to RSS - Unsupported