News:

Looking for documentation? Take a look on our wiki

Main Menu

Wording Change

Started by swiftpoolsupplies, September 01, 2010, 20:56:23 PM

Previous topic - Next topic

swiftpoolsupplies

This should probably be an easy fix: how can I change the wording of each UPS service? (See screenshots.)

Mainly, I just want to remove the term "UPS" from each line within cartrates and UPS shipping module.

Also, if someone could tell me how to put an extra line break between "Click Here to Add a New Shipping Address." and "Please select a Shipping Method." - I am not good with PHP   :-\

Thanks!!

[attachment cleanup by admin]
Swift Pool Supplies | http://www.swiftpoolsupplies.com

lowmips

I assume you're using UPSv2, since you mention "cartrates". To strip out the UPS you'll have to do a string replace.
For example, in the main HTML output loop in upsv2.php, around lines 450-493, You would want to do something like:


foreach($final_rates_array as $key=>$value) {
// new code here
$value['ServiceName'] = str_replace('UPS ','',$value['ServiceName']);
// end new code


If you're using the "ground only" feature for products you'll also want to do something similar around lines 439-448.
Visit my website at www.lowmips.com
View my newsletters Here (sign up for newsletters on the front page of my website)

swiftpoolsupplies

Thanks! .... Stupid question, but where do I find upsv2.php?
Swift Pool Supplies | http://www.swiftpoolsupplies.com

lowmips

/administrator/components/com_virtuemart/classes/shipping/upsv2.php
Visit my website at www.lowmips.com
View my newsletters Here (sign up for newsletters on the front page of my website)