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

ambientdrup’s picture

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

adamdicarlo’s picture

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?

drupal centric’s picture

Subscribed.

problue solutions’s picture

Also having this problem.

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

adamdicarlo’s picture

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

neilnz’s picture

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

jedsmith13’s picture

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.

docans’s picture

Issue summary: View changes

Has there been a solution for this. String overide does not seem to work with ubercart 7

Staler75’s picture

subscribe!

mariocantor’s picture

suscribed

m.roma’s picture

Seems to work for some Ubercart texts, but not everything - for example, it does not work for changing the Ubercart status messages.

For example, instead of saying something was added to "your shopping cart" (the status message), and you wanted it to say "your basket" or some such thing, it does not work.

I should mention I am using the latest release of both this module and Ubercart in Drupal 7.