Post by Solan » Sun Aug 16, 2015 8:24 pm

Hi all!

I tried searching if someone has the solution of getting rid of the - sign before shipping cost in the front at checkout when choosing shipping method.

As it is now with the - in front of the sippingcost customers may belive that its a minus sign.

Code: Select all

Please choose shipping method

Flat Shipping Rate -$8.00

Free shipping -$0
How can i change this to : instead of -
Last edited by Solan on Wed Aug 19, 2015 6:51 am, edited 1 time in total.

Active Member

Posts

Joined
Sat Feb 19, 2011 7:34 pm

Post by Solan » Wed Aug 19, 2015 6:50 am

Found the solution in /catalog/view/theme/default/template/checkout/shipping_method.tpl

(around line 18) Find

Code: Select all

<?php echo $quote['title']; ?> - <?php echo $quote['text']; ?></label>
Change it to:

Code: Select all

<?php echo $quote['title']; ?>: <?php echo $quote['text']; ?></label>

I have the : to the left right after the >


And in /catalog/view/theme/default/template/checkout/shipping.tpl

(Around line 100) Find:

Code: Select all

html += json['shipping_method'][i]['quote'][j]['title'] + ' - ' + json['shipping_method'][i]['quote'][j]['text'] + '</label></div>';
Change it to:

Code: Select all

html += json['shipping_method'][i]['quote'][j]['title'] + ' : ' + json['shipping_method'][i]['quote'][j]['text'] + '</label></div>';
I have the : to the left right after the '

:)

Active Member

Posts

Joined
Sat Feb 19, 2011 7:34 pm
Who is online

Users browsing this forum: No registered users and 10 guests