Results 1 to 7 of 7
  1. #1
    Join Date
    May 2008
    Posts
    57
    Plugin Contributions
    0

    Default 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....=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

  2. #2
    Join Date
    Mar 2007
    Location
    AZ
    Posts
    1,911
    Plugin Contributions
    2

    Default 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

  3. #3
    Join Date
    May 2008
    Posts
    57
    Plugin Contributions
    0

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

    Quote Originally Posted by charmedbytina2 View Post
    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

  4. #4
    Join Date
    Jul 2008
    Location
    london
    Posts
    169
    Plugin Contributions
    0

    Default 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

  5. #5
    Join Date
    Jul 2008
    Location
    london
    Posts
    169
    Plugin Contributions
    0

    Default 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

  6. #6
    Join Date
    May 2008
    Posts
    57
    Plugin Contributions
    0

    Default 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

  7. #7
    Join Date
    Jul 2008
    Location
    london
    Posts
    169
    Plugin Contributions
    0

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

    Hi, mtimber,
    i am glad it got resolved.

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

    Soul39

 

 

Similar Threads

  1. Replies: 5
    Last Post: 1 Aug 2016, 04:31 PM
  2. v150 utf-8: Developers Tool Kit not finding strings?
    By lat9 in forum General Questions
    Replies: 4
    Last Post: 3 May 2013, 09:21 AM
  3. Replies: 2
    Last Post: 31 Dec 2011, 08:37 PM
  4. Replies: 4
    Last Post: 24 Apr 2010, 10:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg