Forums / Bug Reports / shipping estimator setting in language file

shipping estimator setting in language file

Locked

Views: 751

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
9 Feb 2012, 6:20 AM
#1
pasi avatar

pasi

Zen Follower

Join Date:
Mar 2004
Location:
Finland
Posts:
435
Plugin Contributions:
1

shipping estimator setting in language file

In the main language file:
**
define('CART_SHIPPING_METHOD_ZIP_REQUIRED','true');**

which enables or disables the ZIP code field in the shipping estimators (tpl_modules_shipping_estimator.php)

Probably should be a config value set in the admin rather than in language file (since it has nothing to do with what language the user has selected!)

Working with Zen Cart since 2003 :: www.prr.fi
Author of the original Finnish language pack for Zen Cart since 2004

9 Feb 2012, 6:57 AM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,683
Plugin Contributions:
0

Re: shipping estimator setting in language file

Thank you for the code suggestion. This is not a bug though.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

9 Feb 2012, 7:08 AM
#3
pasi avatar

pasi

Zen Follower

Join Date:
Mar 2004
Location:
Finland
Posts:
435
Plugin Contributions:
1

Re: shipping estimator setting in language file

Kim:

Thank you for the code suggestion. This is not a bug though.

erm... I was supposed to post it in code suggestion :D

How the heck did it end up in bugs :D

Working with Zen Cart since 2003 :: www.prr.fi
Author of the original Finnish language pack for Zen Cart since 2004