Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Brackets appear when new delivery method is selected

Brackets appear when new delivery method is selected

Locked

Views: 833

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
11 Nov 2009, 4:27 PM
#1
andy_gs avatar

andy_gs

Zen Follower

Join Date:
Jun 2008
Posts:
187
Plugin Contributions:
0

Brackets appear when new delivery method is selected

Hi Guys,

i've removed the brackets from my shipping method as stated in this thread:
http://www.zen-cart.com/forum/showthread.php?t=52388&highlight=remove+brackets+shipping+method

and this works when the initial shipping method is selected. However when a new delivery method is selected the brackets reappear. Even when i select the old shipping method where there were no brackets, brackets then appear.

e.g.1
OPTIONS
Delivery 1 - pre selected
Delivery 2

Output
Delivery 1

I then select a new method.
e.g.2
OPTIONS
Delivery 1
Delivery 2 - Selected Method

Output
(Delivery 2)

I then select the original method.
e.g.3
OPTIONS
Delivery 1 - Selected Method
Delivery 2

Output
(Delivery 1)

13 Nov 2009, 1:00 PM
#2
andy_gs avatar

andy_gs

Zen Follower

Join Date:
Jun 2008
Posts:
187
Plugin Contributions:
0

Re: Brackets appear when new delivery method is selected

Anyone? Anyone at all?

regards
Andy.

16 Nov 2009, 6:30 PM
#3
andy_gs avatar

andy_gs

Zen Follower

Join Date:
Jun 2008
Posts:
187
Plugin Contributions:
0

Re: Brackets appear when new delivery method is selected

For those of you who were having the same issue as me:

solution
includes/modules/pages/checkout/header_php.php

around line 323:
[PHP] 'title' => (($free_shipping == true) ? $quote[0]['methods'][0]['title'] : $quote[0]['module'] . ' (' . $quote[0]['methods'][0]['title'] . ')'),PHP]

and remove ' (' and ')'

so your left with:
[PHP] 'title' => (($free_shipping == true) ? $quote[0]['methods'][0]['title'] : $quote[0]['module'] $quote[0]['methods'][0]['title']),PHP]

regards
Andy.