Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Order totals text on admin invoice


npn2531

Recommended Posts

As familiar as a think I am with OSC I find myself stymied with the seemingly simple things. Specifically where is blue blazes is the text defined by $order->totals[$i]['text'] in admin/invoice.php ?

 

It is actually the text that the discount coupons contribution (referenced below) displays in the order totals that I am trying to change.

 

http://addons.oscommerce.com/info/4269

 

Thanks!

Oscommerce site:

 

 

OSC to CSS, http://addons.oscommerce.com/info/7263 -Mail Manager, http://addons.oscommerce.com/info/8120

Link to comment
Share on other sites

These textual values are stored in the orders_totals table under title.

They are written there from the language file of the applicable module.

 

To change them on existing orders, you would need to amend the DB.

To change them on future orders, you would need to amend the relevant language files.

 

Note that the logic in checkout_process (that inserts into the DB) adds an extra : to the string

Link to comment
Share on other sites

It is finding, rather knowing which is the relevant language file that confounds me. (I am concerned with future orders only)

Since I know how to locate language files, but still can't find the text, (maybe I need new glasses, or a learn how to search better with Dreamweaver), I was wondering if this text is not in a language file, but that didn't seem likely.

Oscommerce site:

 

 

OSC to CSS, http://addons.oscommerce.com/info/7263 -Mail Manager, http://addons.oscommerce.com/info/8120

Link to comment
Share on other sites

You might like to state the actual text that is being inserted into the DB when using this addon.

 

orders_totals.title > ot_discount_coupon

 

As an aside, when you see that an addon has so many updates by so many different people, it is 100% likely that the addon should be avoided.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...