Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / edit Shipping text in shopping cart

edit Shipping text in shopping cart

Views: 1,306

Results 1 to 9 of 9
26 Jul 2012, 11:33 AM
#1
metaus avatar

metaus

New Zenner

Join Date:
Jul 2012
Posts:
35
Plugin Contributions:
0

edit Shipping text in shopping cart

Hi,
I changed the names of the shipping options offered at checkout, however when they show up in the cart totals section it shows the shipping type, then the shipping again. E.g. Regular shipping (Regular shipping (3-6 days)):

I have added an attached screen shot below so you can see for yourself!

Ideally I'd like the remove the text 'regular shipping (' and have just the 'Regular shipping 3-6 days):' (also remove one of the brackets at the end there)

Help would be greatly appreciated!
cheerrs

26 Jul 2012, 3:08 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: edit Shipping text in shopping cart

What code have you added to the shopping_cart to show the shipping there?

What shipping module are you using for that Regular Shipping?

26 Jul 2012, 4:03 PM
#3
metaus avatar

metaus

New Zenner

Join Date:
Jul 2012
Posts:
35
Plugin Contributions:
0

Re: edit Shipping text in shopping cart

I am using Flat rate as an 'express shipping option ($15) and free shipping options for free regular shipping. I simply edited their language files (which changed the name that showed up in the cart of each shipping method).

Ideally however I would like to offer a flat rate shipping option (for express shipping) and then a free shipping option for all AUSTRALIAN customers (since I offer free shipping on ALL my products in australia, however want to add the option for express shipping [that costs $15.00]).

Not the screenshot i uploaded below shows how the shipping methods are both under two boxes two, somehow I'd like to get them under the one category (instead of two).

for reference,
freeoptions = Regular shipping
flat = Express Shipping

Thanks!

2 Aug 2012, 4:24 AM
#4
metaus avatar

metaus

New Zenner

Join Date:
Jul 2012
Posts:
35
Plugin Contributions:
0

Re: edit Shipping text in shopping cart

Is anyone able to help with this pleas?
As I mentioned, I edited freeoptions and flat .php files so the title is now:
freeoptions = Regular shipping
flat = Express Shipping

It works fine when you want to select the shipping method (after you've selected checkout). However, in the shipping estimator module it comes up like this (refer to picture below) and in the cart totals page (refer to first picture in this thread).

I think somewhere there is a ')' that is making this happen, but not sure which file and where. I am assuming multiple since it is occurring in both shipping estimator and the checkout cart section.

any help would be appreciated!

6 Aug 2012, 11:52 AM
#5
metaus avatar

metaus

New Zenner

Join Date:
Jul 2012
Posts:
35
Plugin Contributions:
0

Re: edit Shipping text in shopping cart

PLease if anyone could help, tried everything I know and still to no avail.
Thank you

6 Aug 2012, 12:11 PM
#6
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: edit Shipping text in shopping cart

Could you post the contents of flat.php and freeoptions.php as you edited them (just the defines - no need to post the comments at the top of the file) ?

11 Aug 2012, 7:47 AM
#7
metaus avatar

metaus

New Zenner

Join Date:
Jul 2012
Posts:
35
Plugin Contributions:
0

Re: edit Shipping text in shopping cart

Flat.php:
[/B]define('MODULE_SHIPPING_FLAT_TEXT_TITLE', 'Express Shipping');
define('MODULE_SHIPPING_FLAT_TEXT_DESCRIPTION', 'Express Shipping');
define('MODULE_SHIPPING_FLAT_TEXT_WAY', '<strong>Express</strong> Shipping (1-2 days)');
?>

freeoptions.php:
define('MODULE_SHIPPING_FREEOPTIONS_TEXT_TITLE', 'Regular Shipping');
define('MODULE_SHIPPING_FREEOPTIONS_TEXT_DESCRIPTION', '
Free Options is used to display a Free Shipping option when other Shipping Modules are displayed.
It can be based on: Always show, Order Total, Order Weight or Order Item Count.
The Free Options module does not show when Free Shipper is displayed.<br /><br />
Setting Total to >= 0.00 and <= nothing (leave blank) will activate this module to show with all shipping modules, except for Free Shipping - freeshipper.<br /><br />
NOTE: Leaving all settings for Total, Weight and Item count blank will deactivate this module.<br /><br />
NOTE: Free Shipping Options does not display if Free Shipping is used based on 0 weight is Free Shipping.
See: freeshipper
');
define('MODULE_SHIPPING_FREEOPTIONS_TEXT_WAY', 'Free <strong>Regular</strong> Shipping (3-6 days)');

?>

are they the files you wanted?

thanks!!

15 Aug 2012, 1:28 PM
#8
metaus avatar

metaus

New Zenner

Join Date:
Jul 2012
Posts:
35
Plugin Contributions:
0

Re: edit Shipping text in shopping cart

are they the correct file contents?

15 Aug 2012, 2:43 PM
#9
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: edit Shipping text in shopping cart

If you remove the text from MODULE_SHIPPING_FREEOPTIONS_TEXT_TITLE, making:

define('MODULE_SHIPPING_FREEOPTIONS_TEXT_TITLE', 'Regular Shipping');

look like this:

define('MODULE_SHIPPING_FREEOPTIONS_TEXT_TITLE', '');

does it work the way you want it to ?