Author Topic: get_final_confirmation.tpl - Need Help Removing "2" from FEDEX2  (Read 3750 times)

faulk511

  • Beginner
  • *
  • Posts: 37
  • Howdy!
On page get_final_confirmation.tpl

Example:

Shipping Rate:   FEDEX2; FedEx Ground; $9.16;

-------
Above example I want to remove the "2" from FEDEX and only have FEDEX appear


Can someone please help me?

lowmips

  • Global Moderator
  • Hero Member
  • *
  • Posts: 1464
    • lowmips.com
Re: get_final_confirmation.tpl - Need Help Removing "2" from FEDEX2
« Reply #1 on: January 09, 2012, 01:39:48 am »
/administrator/components/com_virtuemart/classes/shipping/fedexv2.php (lines vary depending on version)

in the function list_rates(), anywhere you see something like this:
$shipping_rate_id = urlencode(__CLASS__."|FEDEX2|".$ship_all_ground_name."|".str_replace('$','',$ship_all_ground_cost));

take the two out.  It is unnecessary and should not affect any other code.

Reggie
Visit my website at www.lowmips.com
View my newsletters Here (sign up for newsletters on the front page of my website)

faulk511

  • Beginner
  • *
  • Posts: 37
  • Howdy!
Re: get_final_confirmation.tpl - Need Help Removing "2" from FEDEX2
« Reply #2 on: January 09, 2012, 06:46:23 am »
Excellent - That of course was exactly what I was working for and corrected the FEDEX2 to FEDEX.   Thanks again and regards. - Greg