Similar to configuring the PayPal extension for multi-tiered pricing, this tutorial will cover how to configure the extension for multi-unit (time period) pricing. For example, if you offer 1 month for $10, but want to offer discounts for 6 months and 1 year at $55 and $100 respectively.
This post extends on the ideas discussed in the forum thread for the post Configure the PayPal extension for two tiered pricing. That post turned out to be quite popular with the PayPal Extension users, but I found that most people needed more than two tiers of pricing.
In the discussion thread, through the process of several users working with expanding the original concept, I’ve fine-tuned a version of the original filter functions to handle unlimited pricing tiers. [Read more…]
The new 0.4 version of the PayPal extension adds a number of new hooks, including some filters that, among other things, will allow for easier customization of multi-tiered pricing. This post will describe the basic code snippets needed to establish a two tiered pricing model.
This example makes the assumption that the user chooses between the two options at registration.