Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1
    Join Date
    Jun 2006
    Posts
    26
    Plugin Contributions
    0

    Default Default_template where it is gone

    Hello,
    I think I may have deleted the default_template by accident while changing the templates in admin. Problem is I can get it back but I dont know what files I need to get and where to put them on the server.
    The reason why is that I am using classic template and I want to get rid of the borders on the sides. I found a thread showing you how to do this but it shows it on default_template and it will not work on the classic temp.

    Thanks
    Dave

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Default_template where it is gone

    If you are referring to version 1.3.x...You can find the download here in the download tab. Download the full file set, unzip it to your PC and then you can see the structure and FTP the missing files to your Host.

    There are many differences from the 'classic' and the template_default so many tips & tricks can only be applied to the correct template base.
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jun 2006
    Posts
    26
    Plugin Contributions
    0

    Default Weight format

    Hi,
    Thanks for the info... Oh my head is hurting.... Is there a way to change the weight from pounds (lbs) to grams (g) and Kilograms (kg) ??

    I am trying to work out shipping and Zones and .... oh back to it again...

    Thanks
    Dave

  4. #4
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Default_template where it is gone

    use your developers tool kit located in

    admin-> tools ( in your browser )

    search for Lbs and then change these to Kgs
    Zen cart PCI compliant Hosting

  5. #5
    Join Date
    Jun 2006
    Posts
    26
    Plugin Contributions
    0

    Default Re: Default_template where it is gone

    I have looked in Tools within the Admin screen and cannot find anything... I would have thought it would have been in Weight or shipping... I cannot work out lbs... converting all day...
    I did a search on lbs and it found nothing.. ?

  6. #6
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Default_template where it is gone

    Here's the result for a search of "lbs"

    /home/mysticmo/public_html/admin/includes/languages/english.php

    Line #570 : define('TEXT_PRODUCT_WEIGHT_UNIT','lbs');

    /home/mysticmo/public_html/includes/languages/classic/english.php

    Line #487 : define('TEXT_SHIPPING_WEIGHT','lbs');

    /home/mysticmo/public_html/includes/languages/english.php

    Line #386 : define('TEXT_PRODUCT_WEIGHT_UNIT','lbs');

    Line #389 : define('TEXT_SHIPPING_WEIGHT','lbs');

    /home/mysticmo/public_html/includes/languages/mystic/english.php

    Line #386 : define('TEXT_PRODUCT_WEIGHT_UNIT','lbs');

    Line #389 : define('TEXT_SHIPPING_WEIGHT','lbs');

    /home/mysticmo/public_html/includes/modules/shipping/usps.php

    Line #131 : // weight must be less than 35lbs and greater than 6 ounces or it is not machinable

    Line #244 : $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('All Packages are Machinable', 'MODULE_SHIPPING_USPS_MACHINABLE', 'False', 'Are all products shipped machinable based on C700 Package Services 2.0 Nonmachinable PARCEL POST USPS Rules and Regulations?<br /><br /><strong>Note: Nonmachinable packages will usually result in a higher Parcel Post Rate Charge.<br /><br />Packages 35lbs or more, or less than 6 ounces (.375), will be overridden and set to False</strong>', '6', '0', 'zen_cfg_select_option(array(\'True\', \'False\'), ', now())");

  7. #7
    Join Date
    Jun 2006
    Posts
    26
    Plugin Contributions
    0

    Default Re: Default_template where it is gone

    Ok... yeah but if I go and change all that to KG what happens if the weight of an item is say 160g (1000g=1Kg) ... so when I add a product and it asks for a weight and its 160g in weight.. do I put in 160 or 0.16 ?
    How does the program know if its Kg or G ... I noticed in your list you submitted that it reads "/home/mysticmo/public_html/includes/modules/shipping/usps.php

    Line #131 : // weight must be less than 35lbs and greater than 6 ounces or it is not machinable"

    well how does it know about ounces....when it shows it in lbs... am I missing something or should I go to bed ??

    Thanks Again
    Dave

  8. #8
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Default_template where it is gone

    I did a lot of conversion.

    16 oz = 1 lb or 1

    8oz = 1/2 lb or 0.5

    etc.

    1000 g = 1kg or 1

    500g = 1/2 kilo or 0.5
    etc.

    If you change the listed files to kgs the program will use that as the default weight.

    In the products you just insert 0.25, 0.5, 1, 2, 3 etc.

  9. #9
    Join Date
    Jun 2006
    Posts
    26
    Plugin Contributions
    0

    Default Re: Default_template where it is gone



    Oh I am a ########... of course... DUH

    Thanks for your help

  10. #10
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Default_template where it is gone

    not at all, glad to help

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Where have all my hits gone?
    By Mike M2G in forum Upgrading to 1.5.x
    Replies: 1
    Last Post: 2 Jul 2013, 07:21 PM
  2. where's my admin gone?
    By jenpen in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 2 Jun 2010, 12:42 AM
  3. Where o Where has my EZ Pages Header Gone?
    By wudchuk in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 18 Oct 2009, 06:00 AM
  4. Where is my zencart gone, Oh my
    By babsg in forum General Questions
    Replies: 3
    Last Post: 6 Aug 2009, 12:18 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