Forums / General Questions / How to get rid of text in () in shipping module in Your Total?

How to get rid of text in () in shipping module in Your Total?

Locked

Started by olyabil on 11 Nov 2010, 12:30 PM · Views: 1,525

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
11 Nov 2010, 12:30 PM
#1
olyabil avatar

olyabil

New Zenner

Join Date:
Oct 2010
Posts:
6
Plugin Contributions:
0

How to get rid of text in () in shipping module in Your Total?

I would like that during checkout on the page "Step 2 of 3 - Payment Information" there were no text in () after shipping method name.
For example there is now: Store Pickup (Walk In):
I would like to get: Store Pickup:

Can anybody help me?

11 Nov 2010, 3:46 PM
#3
olyabil avatar

olyabil

New Zenner

Join Date:
Oct 2010
Posts:
6
Plugin Contributions:
0

Re: How to get rid of text in () in shipping module in Your Total?

I know how to do this already. :clap:
Go to \includes\modules\order_total\ot_shipping.php and change line
$this->output[] = array('title' => $order->info['shipping_method'] . ':',
into

$this->output[] = array('title' => $this->title . ':',

This will make zen cart to show Shipping: instead of Store Pickup (Walk In): or other shipping modules names.

12 Nov 2010, 9:50 AM
#5
olyabil avatar

olyabil

New Zenner

Join Date:
Oct 2010
Posts:
6
Plugin Contributions:
0

Re: How to get rid of text in () in shipping module in Your Total?

Yes. It looks much better then long shipping method description in Your Total area.

12 Nov 2010, 8:12 PM
#6
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: How to get rid of text in () in shipping module in Your Total?

Brilliant solution. I used description instead of title. :clap:

@gjh42 : People can see their shipping method, which they just selected on the previous page, again on the confirmation page.

13 Nov 2010, 1:31 AM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: How to get rid of text in () in shipping module in Your Total?

True. I still don't think "Store Pickup:" is more cumbersome than "Shipping:", but to each his own. Some methods may have necessarily long names.