Is it possible to remove the post code from Zen Cart?

Status
Not open for further replies.

Forbairt

Teaching / Designing / Developing
there'll be some hackery involved...

you'll have to remove it from your template files

tpl_modules_create_account.php
tpl_account_edit_default.php
 

Forbairt

Teaching / Designing / Developing
similarily your paypal verified image should do something ?


BTW theres a problem on the checkout page ... choosing existing or new customer makes baby jesus cry ... er I mean ... the two boxes appear one above the other in a weird way ... on firefox at least
 

googlebomber76

New Member
similarily your paypal verified image should do something ?


BTW theres a problem on the checkout page ... choosing existing or new customer makes baby jesus cry ... er I mean ... the two boxes appear one above the other in a weird way ... on firefox at least

The boxes look fine on IE and I love Microsoft and that's all that matters, just had a look on firefox, it dropped the paypal express completley on the first attempt, if you refresh your browser it should be ok....

I'll put in the links behind the paypal and verisign logos.....
 

Forbairt

Teaching / Designing / Developing
The boxes look fine on IE and I love Microsoft and that's all that matters, just had a look on firefox, it dropped the paypal express completley on the first attempt, if you refresh your browser it should be ok....

I'll put in the links behind the paypal and verisign logos.....


As a tech savy person ... I buy Tech products and I use firefox ...

IE gets switched on for testing only

Having to refresh the page to get it to look good isn't an option for me

I would think that a lot of Technicial people sitting in their offices would use firefox so you're pretty much alienating them ... the numbers on safari are increasing heavy as well ... though it looks fine in safari
 

mneylon

Administrator
Staff member
The boxes look fine on IE and I love Microsoft and that's all that matters

I hope that was tongue in cheek

The one thing I've learnt about selling online is that you should never ever work under the assumption that your users will be using a particular browser or operating system.

Of our fulltime staff 100% of them use Firefox as their primary browser and they're definitely in your target demographic. Do you want them to buy from another site?
 

Geoff

New Member
It's amazing how many variations crop up in layout/view from browser to browser... considering .html is supposed to be a standard:D
 

googlebomber76

New Member
I hope that was tongue in cheek

The one thing I've learnt about selling online is that you should never ever work under the assumption that your users will be using a particular browser or operating system.

quote]

I booted up firefox for the first time in ages last nite, the site looked pretty similar except the adverts disappeared from the bottom of every page (I won't be doing that again), I'm not anti firefox, i'm just pro microsoft, i'm using a dell true life display, vista ultimate and windows live one care for protection on all my computets, I have to say i've not even had the slightest wobble out of any of them and i'm more than happy, firefox looks dated compared to IE using my own laptop...
I've tested the site on a good few mobiles and it's coming up well and usable...the tradedoubler adverts even appear on most of the mobiles...

If it makes you feel any better I've never subscribed to Microsoft Office, Open Office looks afer all my needs for free without any complications....

btw....can anyone sort out my post code....the money is burning a whole in my pocket.....;)
 

mneylon

Administrator
Staff member
I'm not anti firefox, i'm just pro microsoft, i'm using a dell true life display, vista ultimate and windows live one care for protection on all my computets, I have to say i've not even had the slightest wobble out of any of them and i'm more than happy, firefox looks dated compared to IE using my own laptop...

It doesn't matter whether you are pro-microsoft, anti-mac or whatever.

If you are serious about selling online you need to ensure that your website functions for users regardless of the platform or browser they are using.

There aren't any 100% reliable sources of browser usage out there, but this one is pretty good:
Browser Statistics

36% of users are on Firefox and that percentage can increase significantly depending on your demographic. See:

Browser Usage Stats - Is Firefox Gaining or Losing?

or

Browser / OS Usage
 

googlebomber76

New Member
36% of users are on Firefox and that percentage can increase significantly depending on your demographic. See:

I totally agree with you, i'd say it's getting close to a 50/50 split...I know plenty of people who use it every day.....believe me i'm not trying to shut a door on those users....

I have used the site on firefox and it seems to function ok (just a little better on IE) :p Sorry had to get the dig in!!!!

Once I get the look and feel of the site to where I want it i'll start worrying about some of the more technical issues then....i'm not worried about the ads not appearing in firefox, in an ideal world they wouldn't be there in the first place....but i've got to pay for this hosting somehow.....;)
 

johned

New Member
The origional question was about zen cart and not firefox!!

Im using zen for the first time and am also strugling with postcodes for ireland. Im trying to find a way to make the postcode box dissapear when ireland is selected. Anyone managed this?

I also just wrote loads of sql for uk and ireland zones only to find its allready available in the downloads section :eek:

And yes i am working on a sunday lol!!
 

Wild Thing

New Member
In oscommerce you can have the postcode box ok but you can set it to either a required field or not with code. Are postcodes not being phased in across ireland?
 

Midland Web

New Member
Hi!

Hi guys. Firt time poster! I'm also looking for a Zencart fix for the post code issue? I Just want to disable it altogether? All help greatly appreciated!
 
1. Locate the file includes\templates\template_default\templates\tpl_modules_create_account.php, open it, then delete

HTML:
<label class="inputLabel" for="postcode"><?php echo ENTRY_POST_CODE; ?></label>
<?php echo zen_draw_input_field('postcode', '', zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_postcode', '40') . ' id="postcode"') . (zen_not_null(ENTRY_POST_CODE_TEXT) ? '<span class="alert">' . ENTRY_POST_CODE_TEXT . '</span>': ''); ?>
<br class="clearBoth" />

2. Locate the file modules\create_account.php and includes\modules\create_account.php, find the line if (strlen($postcode) < ENTRY_POSTCODE_MIN_LENGTH) { etc. and then change everything like this:

HTML:
  if (strlen($postcode) < ENTRY_POSTCODE_MIN_LENGTH) {

    $error = false;

   // $messageStack->add('create_account', ENTRY_POST_CODE_ERROR);

  }

This worked for me. GL
 

achieve

New Member
Hope the previous posters didn't put the website development on hold while waiting for a solution to be posted here! Talk about reviving an old post............
 
Status
Not open for further replies.
Top