You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Hi
I have an item that is a membership purchase to a club. The entire price is $600 for the year, that is $50 a month. However, the $600 only applies if you buy in January. If you buy in June you would only have to pay $350 and if you buy in September you would only have to pay $200.
In other words the purchase price is prorated per month. The closer to December you purchase the less you have to pay. Then it would start all over the next January.
How would I implement such a pricing schem with CCP5?
Any help would be appreciated.
Thanks
Mike de la Flor
Offline
There are probably several ways to implement this under CCP 5.1. But first, are you actually using CCP 5.0 instead of 5.1?
Offline
I am using CCP5.
Thanks,
Mike
Offline
Sorry Mike. I only have experience using CCP 5.1. So my below comments are based on 5.1 being similar to 5.0, in other words, I'm guessing! <grin>
I did something very similar in CCP 5.1.
Here's how I would approach this: add a little extra logic to the PERL source code in the display price function so that the function looks up the current date, and then determines how many months would remain on the membership between now and December, and then removes the months that have already elapsed. Then, it would simply calculate the pro rated price based the above, and display that in the various shopping screens. When the end-user adds the item, the dynamically calculated price would be added instead of the price in the products table (I've already used this "feature" of CCP for another project so I know it works in 5.1).
Offline
Mike,
Did you get this working on your site?
Offline
I am not a programmer. So no, your reply did not help. But thanks.
Mike
Offline