Thanks for the module. Based on the description, it was exactly what I need for my client. However, it's had an unexpected effect on my site.

I have the UC Signup module installed, which changes the 'Add to cart' text once an event is closed. With this module installed, that functionality has been removed. I now get my Ubercart default 'Add to cart' text on closed events instead of the closed message.

I don't have the override for the add to cart text turned on.

I'm a PHP person who just started with Drupal, but it seems to me the feature to change the 'Add to cart' text per product class is something that should have been requested to be added to the Ubercart core or created as a separate module like UC Add to Cart Tweaks. It would add a lot more flexibility to that feature to have it separate from the Variable Price module, because it could then be used on products that don't implement variable price.

It may be too late for that now that the feature is already integrated, but this module shouldn't modify the 'Add to cart' text unless the override is turned on. I'll attempt to debug this myself, but I haven't ever created a Drupal patch, so perhaps someone more familiar with Drupal can make one faster.

Thanks.

Comments

cwithout’s picture

Status: Active » Closed (fixed)

Hrm. I uninstalled this module to test out another one with similar functionality, decided this one was closer to what I needed and reinstalled it. Now it's working and showing the ended events as closed. No idea why it didn't work on the first install.