While working on a project the class names for display and sell price mysteriously changed, perhaps after I changed themes to the Deco theme and back to Garland again, or perhaps because of an upgrade to Ubercart. All of a sudden, the class names had hyphens '-' instead of underscores, breaking uc_aac.
I'm posting this issue so people can be aware of it here, but it might be a weirdness with Ubercart itself as it is the module assigning the class names. Even so, perhaps uc_aac can be modified to figure out what class names Ubercart is using, if it is changing them arbitrarily.
Has anyone else experienced this? If this happens to you, a quick fix is to change the class names on lines 215, 216, 219, and 222.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | uc_aac-classname-changes.diff | 1.45 KB | pillarsdotnet |
Comments
Comment #1
cyu commentedIt is a part of ticket #351983: Wrong CSS names. I will change code to reflect this and make a release that works with Ubercart beta 2.
Comment #2
pillarsdotnet commentedAttached patch solves the problem.
Comment #3
cyu commentedThank you.