Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

trying to change title field in orders_total


spoot

Recommended Posts

Hi -

 

I can't seem to figure out how this field gets populated. Right now in my invoice the shipping method is listed, for example, like this:

 

USPS (Shipping to Maryland, United States ?):

 

I want to change this to read, simply:

 

Ground Shipping:

 

... but I can't track down exactly how this field gets populated. I think it's ... well ... I got as far as looking in the order_total class, but this didn't get me very far. Anyone have a hint?

 

Any assistance is greatly appreciated, thanks -

 

Michael

Link to comment
Share on other sites

I know this is a boring topic. Or maybe my question wasn't clear before...

 

How does the orders_total table get populated?

 

 

How can I change it so that rather than getting populated with content like:

 

USPS (Shipping to Maryland, United States ?):

 

...it gets populated with something much simpler, like:

 

USPS:

 

 

Any help is greatly appreciated -

 

Michael

Link to comment
Share on other sites

Did you end up finding the solution for this. I am having a lot of trouble trying to figure this out!

 

Any help would be really appreciated.

Link to comment
Share on other sites

Alright, I've got this lovely web site up and running, my client is terribly happy with the whole thing - except that every shipment that goes out has this same problem. Which is:

 

The 'title' field in orders_total, which ends up on the shipping page, says something like:

 

USPS (Shipping to Maryland, United States ):

 

...and the client want this to say something like:

 

Ground Shipping:

 

I feel silly about this, but I've tried mighty hard to find where this text comes from and I haven't found it. A search of the database turns up nothing, and a full-text search of the catalog/ directory turns up nothing, either.

 

I'm feeling like a crazy person. Does anyone know where this text comes from?

 

Thanks for any help or pointers,

 

Michael

Link to comment
Share on other sites

Thank goodness, I found this darned thing. It's in the language file for whichever shipping module you're using. I'd actually already checked this - but I thought I was using zones shipping, and I was using some other thing. Anyway, the verbage (in my specific case) is in:

 

/catalog/includes/languages/english/modules/shipping/regions.php

 

The 'define' to change is

 

MODULE_SHIPPING_REGIONS_TEXT_TITLE

 

*sigh*

 

Michael

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...