Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Sounds like a great module!
Will it do date or time-based prorating? Say, decrease price by 10% each week for next eight weeks, or decrease price by 10% for 8 weeks total, but skipping week 3 and 6? If it could do that, that would be awesome. I've been doing all of that with UC custom price and it sucks doing it that way.
Comments
Comment #1
djdevinThanks - would be nice, but I can't think of a good way to do it with a UI. Suggestions welcome :)
Comment #2
butler360 CreditAttribution: butler360 commentedWell, I'm not a programmer so... not really, haha.
But I've been doing it using PHP's date functions, using either the day number or week number.
Here's my cobbled together code I've been using:
So if you could in the UI ask for a start time (day or week), duration, frequency, and discount amount, seems like it's possible, right?
Comment #3
djdevinDon't see why not, will have to work on it.