Results 1 to 10 of 18

Hybrid View

  1. #1
    Join Date
    Aug 2007
    Location
    UK
    Posts
    47
    Plugin Contributions
    0

    Default Remove state & zipcode from Shipping Estimator?

    I am using the shipping estimator & royal mail download to estimate shipping costs, but as I am in the UK the only information needed to accurately calculate the cost is the country.

    Is there any way I can remove the state and zipcode fields?

  2. #2
    Join Date
    Aug 2007
    Location
    UK
    Posts
    47
    Plugin Contributions
    0

    Default Re: Remove state & zipcode from Shipping Estimator

    Still looking for an answer to this if anyone can help???

  3. #3
    Join Date
    Mar 2005
    Location
    Helsinki
    Posts
    570
    Plugin Contributions
    0

    Default Re: Remove state & zipcode from Shipping Estimator

    I've been looking for a solution to this over an year now.. I would LOVE to know how to remove them as well..

  4. #4
    Join Date
    Mar 2005
    Location
    Helsinki
    Posts
    570
    Plugin Contributions
    0

    Default Re: Remove state & zipcode from Shipping Estimator

    Actually in the newer versions at least (1.3.7) this is really easy to do apparently. I remember having problems whit 1.2... just open template modules_shipping_estimator and remove or set to false state and zip...

  5. #5
    Join Date
    Dec 2007
    Posts
    17
    Plugin Contributions
    0

    Default Re: Remove state & zipcode from Shipping Estimator

    Change in includes/modules/shipping_estimator.php ?

    But how exactly? Im in sweden and dont need the state-choice either, unforunately im not skilled enough to figure it out myself either.

  6. #6
    Join Date
    Mar 2007
    Posts
    36
    Plugin Contributions
    1

    Default Re: Remove state & zipcode from Shipping Estimator

    Well as you all asked so nicely

    Open the following file:
    includes\templates\YOUR TEMPLATE\templates\tpl_modules_shipping_estimator.php

    Find the and remove the following code:

    <label class="inputLabel" for="stateZone" id="zoneLabel"><?php echo ENTRY_STATE; ?></label>
    <?php echo zen_draw_pull_down_menu('zone_id', zen_prepare_country_zones_pull_down($selected_country), $state_zone_id, 'id="stateZone"');?>
    <br class="clearBoth" id="stBreak" />
    <label class="inputLabel" for="state" id="stateLabel"><?php echo $state_field_label; ?></label>
    <?php echo zen_draw_input_field('state', '', zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_state', '40') . ' id="state"') .'&nbsp;<span class="alert" id="stText">&nbsp;</span>'; ?>
    <br class="clearBoth" />

    <?php
    if(CART_SHIPPING_METHOD_ZIP_REQUIRED == "true"){
    ?>
    <label class="inputLabel"><?php echo ENTRY_POST_CODE; ?></label>
    <?php echo zen_draw_input_field('zip_code', $zip_code, 'size="7"'); ?>
    <br class="clearBoth" />
    <?php
    }
    ?>

    Done

 

 

Similar Threads

  1. Help with setting shipping rates that are state specific. not zipcode.
    By sunchips in forum Built-in Shipping and Payment Modules
    Replies: 23
    Last Post: 5 Mar 2013, 01:52 AM
  2. Remove 'state/province' display in Shipping Estimator
    By Dukeofmodena in forum Customization from the Admin
    Replies: 1
    Last Post: 27 May 2011, 02:10 PM
  3. How to remove State/Province from shipping estimator?
    By double-happiness in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 23 May 2011, 03:23 PM
  4. remove weight from shipping estimator
    By greatbaits1 in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 20 Jun 2006, 03:04 PM

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