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.

CommentFileSizeAuthor
#2 uc_aac-classname-changes.diff1.45 KBpillarsdotnet

Comments

cyu’s picture

It 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.

pillarsdotnet’s picture

Status: Active » Needs review
StatusFileSize
new1.45 KB

Attached patch solves the problem.

cyu’s picture

Status: Needs review » Fixed

Thank you.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.