Jump to content
Sign in to follow this  
Bobber

2.3.4.1 CE BS Checkout - Remove () Brackets From Shipping and Payment / Credit Card Method During Checkout checkout_confirmation.php

Recommended Posts

Hi Everyone,

Does anyone know how to remove the () brackets from the shipping and payment / credit card methods on the checkout_confirmation.php page?

I have attached a picture of the issue I am talking about...

I have been making little cosmetic updates to my test site and the () brackets need to go...

Any ideas / help is appreciated!

brackets.PNG

Edited by Bobber

Share this post


Link to post
Share on other sites

Hi Everyone,

The reason I was getting () brackets was I did not have a description for the shipping method...

I wanted to offer FedEx Ground... at a flat rate to the customer of $9.99.

I changed my /home/public_html/includes/languages/english/modules/shipping/flat.php from:

<?php
/*
  $Id$

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2002 osCommerce

  Released under the GNU General Public License
*/

define('MODULE_SHIPPING_FLAT_TEXT_TITLE', 'FedEx Ground');
define('MODULE_SHIPPING_FLAT_TEXT_DESCRIPTION', 'FedEx Ground Flat Rate Shipping');
define('MODULE_SHIPPING_FLAT_TEXT_WAY', '');
?>

To this:

<?php
/*
  $Id$

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2002 osCommerce

  Released under the GNU General Public License
*/

define('MODULE_SHIPPING_FLAT_TEXT_TITLE', 'FedEx Ground');
define('MODULE_SHIPPING_FLAT_TEXT_DESCRIPTION', 'FedEx Ground Flat Rate Shipping');
define('MODULE_SHIPPING_FLAT_TEXT_WAY', ' Flat Rate Shipping ');
?>

And now it looks like this on the /checkout_shipping.php and /checkout_confirmation.php pages:

Capture1.thumb.PNG.3509ea3a00907e653d08613ae531d05b.PNG

Capture2.PNG.54ea72bab83469f631256deafb1580e1.PNG

I hope this helps / generates ideas for others in the future!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×