Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Edit shipping estimator

Edit shipping estimator

Views: 1,212

Results 1 to 8 of 8
4 Apr 2014, 4:32 PM
#1
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Edit shipping estimator

I would like to remove the postcode otion on the shipping estimate as all my postage comes from the zone / country / state the customer is in. Postcode is useless and just confusing for customers.

how can i remove this??

or is there a way to add the county dropdown to the shoo[ping cart page next to the shipping in cart mod to all people to select on the cart screen??

4 Apr 2014, 5:11 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Edit shipping estimator

What shipping module(s) do you have installed?

7 Apr 2014, 6:00 PM
#3
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Re: Edit shipping estimator

table rate, free shipper, that is all but thinking of getting better shipping handler mod in furture

7 Apr 2014, 6:27 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Edit shipping estimator

You could try using your templates and overrides and customize the tpl_modules_shipping_estimator.php with the code in RED:

<?php
        if([B]false && [/B]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
        }
?>
9 Apr 2014, 10:04 AM
#5
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Re: Edit shipping estimator

Tried that but that just gave me a blank screen on the estimator

9 Apr 2014, 10:27 AM
#6
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Edit shipping estimator

kitcorsa:

Tried that but that just gave me a blank screen on the estimator

Must've done something wrong.

What text editor did you use? (DON'T use Windows Notepad)

I've just verified that Ajeh's suggestion works as intended.

Cheers
RodG

9 Apr 2014, 1:00 PM
#7
ajeh avatar

ajeh

Oba-san

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

Re: Edit shipping estimator

If you look in the /logs directory, what myDEBUG-something.log files are generated when you get the blank screen?

It sounds like you have space(s) or blank line(s) before the opening <?php** tag or after the closing **?> tag ...

14 Apr 2014, 11:10 AM
#8
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Re: Edit shipping estimator

used the cpanel filemanger code editor as i have FTP turned off on the server (only turn it on when i need to / more than one file edit)