Download & Extend

Problem overriding labels from the Ubercart module

Project:String Overrides
Version:6.x-1.7
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hi.
I'm using Ubercart and my client wants the labels for Price and List Price changed.

I've installed the stringoverrides module, and tried just entering:
List Price --> Shack Price
Price --> Sale Price

This didn't work. I was hoping someone would know the correct text to enter to make the override work.

Thank you so much

Comments

#1

Yeah I'm trying this to and it's not working for me. Must be something in the module that doesn't allow it to communicate with Ubercart strings? Any suggestions on fixing this?

-backdrifting

#2

Having the same issue, even though I'm grepping UberCart source to find exactly what the t() strings are to override them.

Does the module support overriding strings with @var and !var tags in them?

#4

Subscribed.

#5

Also having this problem.

Is there any other solution? I can't even find where I could hard code this.

#6

Many of UberCart's (and UC contrib modules) strings are stored in Drupal variables. Install devel and use its variable editor to edit these messages.

(It's possible to override them with String Overrides if you set up the string override before installing/enabling the UC module in question, I think, too, but that's usually not very feasible.)

#7

The strings to override are:

"List Price: "
"Cost: "
"Price: "

(note the colon and space need to be included)

This isn't an ideal way to do it though...

#8

As a note if you are using a WYSIWYG editor make sure it is not enabled for the String Overrides textareas. I ran into a problem with CKEditor modifying the original when I had the space after the colon.

nobody click here