Forums / Built-in Shipping and Payment Modules / Trying to get rid of "lbs" from php files - developers tool kit not finding it.

Trying to get rid of "lbs" from php files - developers tool kit not finding it.

Locked

Started by mtimber on 19 Oct 2008, 1:17 PM · Views: 1,876

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
19 Oct 2008, 1:17 PM
#1
mtimber avatar

mtimber

New Zenner

Join Date:
May 2008
Posts:
58
Plugin Contributions:
0

Trying to get rid of "lbs" from php files - developers tool kit not finding it.

Hello :-)

I am having a problem finding the last bit of php stating "lbs".

The link is here.

http://www.diversofpearls.com/index.php?main_page=shopping_cart

If you click on the "chinese plate" you will notice it says:

Total Items: 1 Weight: 300lbs Amount: £29.99

You will also see it on the "estimate shipping" pop up.

Now I have used the developers tool kit and removed three instances from the php, but it is not finding this one.

I am at a complete loss where this is "hiding"?

Could anyone please help :-)

I thank you in advance for your kind attention and assistance.

Mark

19 Oct 2008, 3:11 PM
#2
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Re: Trying to get rid of "lbs" from php files - developers tool kit not finding it.

You can stop the shipping weight from displaying in the products listing thru admin - configuration - product listing.

You can stop the weight showing on the shopping cart page as well in admin - shipping/packaging:

Display Number of Boxes and Weight Status
Display Shipping Weight and Number of Boxes?

0= off
1= Boxes Only
2= Weight Only
3= Both Boxes and Weight
provided in a thread by ajeh ~ thanks

Tina

19 Oct 2008, 4:48 PM
#3
mtimber avatar

mtimber

New Zenner

Join Date:
May 2008
Posts:
58
Plugin Contributions:
0

Re: Trying to get rid of "lbs" from php files - developers tool kit not finding it.

charmedbytina2:

You can stop the shipping weight from displaying in the products listing thru admin - configuration - product listing.

You can stop the weight showing on the shopping cart page as well in admin - shipping/packaging:

Tina

Hi Tina :-)

Thank you for your reply.

I have those settings as you state and it is still showing...

Mark

20 Oct 2008, 1:35 PM
#4
soul39 avatar

soul39

Zen Follower

Join Date:
Jul 2008
Location:
london
Posts:
167
Plugin Contributions:
0

Re: Trying to get rid of "lbs" from php files - developers tool kit not finding it.

Hi,

i had the same problem, i did a search in this forum for
" lbs to kgs" and got the answer. From memory, i think there are two files and three places where you need to make the change.
I am a work right now and don't have my notes with me, but i will have a look when i get home later. that's if you have not found the answer by then.

Soul39

20 Oct 2008, 5:11 PM
#5
soul39 avatar

soul39

Zen Follower

Join Date:
Jul 2008
Location:
london
Posts:
167
Plugin Contributions:
0

Re: Trying to get rid of "lbs" from php files - developers tool kit not finding it.

Hi

this is the file that you need to amend,
INCLUDES\LANGUAGE\YOUR-TEMPLATE\ENGLISH.PHP . open the file in your text editor and scroll down to- define('TEXT_PRODUCT_WEIGHT', 'lbs' ); it's a long way down; over 400 lines on my editor.
Change the lbs to whatever units you want, remember to leave the ' '.

Also about two lines down, under // shipping,
you need to do the same thing in,
define('TEXT_SHIPPING_WEIGHT', 'lbs');

Remember, if your are modifying the classic\english.php file, that you must save it to your own custom template, as this will get over written when you next upgrade.

i hope this has been helpful.

soul39

26 Oct 2008, 12:36 PM
#6
mtimber avatar

mtimber

New Zenner

Join Date:
May 2008
Posts:
58
Plugin Contributions:
0

Re: Trying to get rid of "lbs" from php files - developers tool kit not finding it.

Thank you Soul39 :-)

That has solved the problem :-)

Mark

26 Oct 2008, 9:13 PM
#7
soul39 avatar

soul39

Zen Follower

Join Date:
Jul 2008
Location:
london
Posts:
167
Plugin Contributions:
0

Re: Trying to get rid of "lbs" from php files - developers tool kit not finding it.

Hi, mtimber,
i am glad it got resolved.:smile:

I'm pleased as punch, i've solved my first query. I am going to give myself a very big:clap:

Soul39