Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I want to remove brackets in shipping total, what files need to edit?


basketmen

Recommended Posts

Posted

1. Guys, i want to remove brackets in shipping total checkout_confirmation.php, for example :

 

Flat Rate (Best Way): $5.00

 

 

I want remove the brackets, so it will be

 

 

Flat Rate Best Way: $5.00

 

 

 

 

i had open checkout_confirmation.php file, but still cannot find where is the brackets code

 

 

 

 

 

 

 

2. and i need to remove that brackets code from checkout_shipping.php file and order email too, what is the file i need to edit it for it guys?

Deadline always

Posted

The parentheses would be in a file under catalog/includes/languages. If I had to guess, I'd say that it would be catalog/includes/languages/english/modules/shipping/flat.php, but I'd have to look at your setup to be sure.

 

If you have shell access, you could also figure this out with something like

grep -R '(Best Way)' catalog

If you have the files on Windows, you could use the Windows search function.

Always back up before making changes.

Posted

In catalog/checkout_shipping.php find

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

Change to

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

If you have any orders in the database then you will have to remove them from there with phpmyadmin.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...