Guest Posted June 6, 2007 Share Posted June 6, 2007 post any and all install / usage questions about Zipship here... Quote Link to comment Share on other sites More sharing options...
bernardop_rj Posted June 6, 2007 Share Posted June 6, 2007 hi! I just installed zipship and tested the module with some zip areas. Although it works properly, calculating the delivery costs for each defined area, it shows the following error in the main page, above the header: Warning: ereg(): REG_EMPTY in c:\windows\serv-n\www\oceano_loja\includes\modules\shipping\zipship.php on line 151 I noticed it appears 9 times, because I have only 1 area filled... Is there a way to avoid this error? thank you very much! Quote Link to comment Share on other sites More sharing options...
bernardop_rj Posted June 6, 2007 Share Posted June 6, 2007 hi! I just installed zipship and tested the module with some zip areas. Although it works properly, calculating the delivery costs for each defined area, it shows the following error in the main page, above the header: I noticed it appears 9 times, because I have only 1 area filled... Is there a way to avoid this error? thank you very much! Already found out, nevermind! Just edited includes/modules/shipping/zipship.php line 133 Quote Link to comment Share on other sites More sharing options...
Guest Posted June 7, 2007 Share Posted June 7, 2007 Already found out, nevermind!Just edited includes/modules/shipping/zipship.php line 133 ok..will fix this and repost - mark Quote Link to comment Share on other sites More sharing options...
bigyiyo Posted June 14, 2007 Share Posted June 14, 2007 Hi, I have the same error. Warning: ereg(): REG_EMPTY in /home/content/.../includes/modules/shipping/zipship.php on line 151 Warning: ereg(): REG_EMPTY in /home/content/.../includes/modules/shipping/zipship.php on line 151 Can you help me to fix it please Thank you Big Y Quote Link to comment Share on other sites More sharing options...
Guest Posted June 18, 2007 Share Posted June 18, 2007 Hi,I have the same error. Warning: ereg(): REG_EMPTY in /home/content/.../includes/modules/shipping/zipship.php on line 151 Warning: ereg(): REG_EMPTY in /home/content/.../includes/modules/shipping/zipship.php on line 151 Can you help me to fix it please Thank you Big Y Hi, You must make sure that the $this->num_zones is correctly set to the EXACT number of zones that you are defining, or else you will get warnings. Quote Link to comment Share on other sites More sharing options...
Leak-Proof Posted July 26, 2007 Share Posted July 26, 2007 (edited) Has this module been ported to work with Multi Vendor Shipping? I have a heavily modified, older version of this awesome zipship module in my shop but now need to add a new shipper using the same type of perameters offered by this version. The MVS addition makes it hard to drop in this new module without a bunch of additional work. RJ Edited July 26, 2007 by Leak-Proof Quote I like these mods, there fun! ...65 70 72 75 80 85 125+ contributions installed and counting... Tools I'm using: OSC2.2 milestone2, Filezilla for FTP, PHP Designer 2007PE (nice), Araxis Merge 6.5 to compare files, XP(my box), Remote Server is shared Apache 1.3 Cpanel, CURL, and PHPmyAdmin through my hosts Cpanel to mess up the database. Link to comment Share on other sites More sharing options...
nmatese Posted August 6, 2007 Share Posted August 6, 2007 I am having trouble with zipship, I have set all the specs from the admin page, and it still displayed Zipcode Rate The delivery/shipping fee cannot be determined at this time $0.00 I am not sure what I am doing wrong. Quote Link to comment Share on other sites More sharing options...
Leak-Proof Posted September 1, 2007 Share Posted September 1, 2007 Canadian Postal code info. I found a couple of links that will make it easier for Canadian users to breakdown there shipping rates to very specific locations. see: http://www.canadapost.ca/common/tools/pg/f.../pdf/Canada.pdf and http://www.cic.gc.ca/english/study/work-locations.asp Quote I like these mods, there fun! ...65 70 72 75 80 85 125+ contributions installed and counting... Tools I'm using: OSC2.2 milestone2, Filezilla for FTP, PHP Designer 2007PE (nice), Araxis Merge 6.5 to compare files, XP(my box), Remote Server is shared Apache 1.3 Cpanel, CURL, and PHPmyAdmin through my hosts Cpanel to mess up the database. Link to comment Share on other sites More sharing options...
Leak-Proof Posted September 5, 2007 Share Posted September 5, 2007 Has anyone merged the functionality of the REGEX zipcode module for the zone selection into the MultiGeoZones MultiTables module? It would be a truely powerful module. Quote I like these mods, there fun! ...65 70 72 75 80 85 125+ contributions installed and counting... Tools I'm using: OSC2.2 milestone2, Filezilla for FTP, PHP Designer 2007PE (nice), Araxis Merge 6.5 to compare files, XP(my box), Remote Server is shared Apache 1.3 Cpanel, CURL, and PHPmyAdmin through my hosts Cpanel to mess up the database. Link to comment Share on other sites More sharing options...
Guest Posted September 5, 2007 Share Posted September 5, 2007 Problems with certain zip codes showing fees when they shouldn't. Zone 1: 0,1,2,3,4,5,5,6,7,8,9 fee: $0 Zone 2: 10,11,330,331,332,333,90,91,92,935 fee: $50 Zone 3: 10000,33000,90000 fee: $0 I am using various delivery zip codes to test my numbers and 48109 triggers the fee, can anyone tell me why my thinking and/or numbers are wrong? Number of zones is set to 3. Thank you so much for your help, people. Amy Quote Link to comment Share on other sites More sharing options...
Guest Posted September 6, 2007 Share Posted September 6, 2007 Problems with certain zip codes showing fees when they shouldn't. Zone 1: 0,1,2,3,4,5,5,6,7,8,9 fee: $0 Zone 2: 10,11,330,331,332,333,90,91,92,935 fee: $50 Zone 3: 10000,33000,90000 fee: $0 I am using various delivery zip codes to test my numbers and 48109 triggers the fee, can anyone tell me why my thinking and/or numbers are wrong? Number of zones is set to 3. Thank you so much for your help, people. Amy Figured out my own problem by reading Mark's stuff. Didn't realize I had to use the Regex characters in my zone numbers ^4 instead of 4, for example. Cheers! Quote Link to comment Share on other sites More sharing options...
VITW Posted November 20, 2007 Share Posted November 20, 2007 (edited) Help! I put together the zone zipcode strings for the 8 zones shipping from NJ. The longest string is 610 characters in length. The routine allows up to 255. How do I change the acceptable length to 1027? The zones look follows: Zone 1: 005,070,071,072,073,074,075,076,077,078,079,080,081,082,083,084,085,086,087,088, 089,09,10,11,180,181,183189,190,191,192,193 Zone 2: 010,011,012,013,060,061,062,063,064,065,066,067,068,069,124,125,126,127,137,138, 139,170,171,172,173,174,175,176,178,179,182,184,185,186,187,188,195,196,197,198,1 99,206,207,208,209,210,211,213,214,216,218,219 Zone 3: 014,015,016,017,018,019,02,03,040,041,042,043,045,048,050,051,052,053,054,055,05 6,057,058,059,120,121,122,123,128,129,130,131,132,133,134,135,136,14,155,156,157, 158,159,166,168,169,177,200,201,202,203,204,205,215,217,22,23,244,254,267,268 Zone 4: 044,046,047,049,150,151,152,153,154,160,161,162,163,164,165,167,240,241,242,243, 245,246,247,248,249,250,251,252,253,255,256,257,258,259,260,261,262,263,264,265,2 66,27,28,290,291,292,293,294,295,296,297,376,377,378,379,403,404,405,406,407,408, 409,410,411,412,413,414,415,416,417,418,425,426,43,44,45,467,468,470,472,473,48,4 90,491,492 Zone 5: 298,299,30,31,32,334,335,336,337,338,342,344,346,347,349,350,351,352,354,355,356 ,357,358,359,360,361,362,363,364,367,368,369,370,371,372,373,374,375,380,381,382, 383,384,385,386,388,389,393,397,398,399,400,401,402,420,421,422,423,424,427,460,4 61,462,463,463,464,465,466,469,471,474,475,476,477,478,479,493,494,495,496,497,49 8,499,504,506,507,520,521,522,523,524,526,527,528,530,531,532,534,535,537,538,539 ,54,550,551,553,554,555,556,557,558,559,60,61,620,622,623,624,625,627,628,629,630 ,631,633,634,635,636,637,638,639,650,651,652,653,723,724,725 Zone 6: 330,331,332,333,339,340,341,365,366,387,390,391,392,394,395,396,500,501,502,503, 505,508,509,510,511,512,513,514,515,516,525,560,561,562,563,564,565,566,567,570,5 71,572,573,574,575,576,580,581,582,583,584,585,586,640,641,644,645,646,647,648,64 9,654,655,656,657,658,660,661,662,664,665,666,667,668,669,670,671,672,673,674,675 ,676,678,680,681,683,684,685,686,687,688,689,690,691,692,700,701,703,704,705,706, 707,708,710,711,712,713,714,716,717,718,719,720,721,722,726,727,728,729,730,731,7 34,735,736,737,738,740,741,743,744,745,746,747,748,749,75,760,761,762,763,764,765 ,766,767,770,771,772,773,774,775,776,777,778 Zone 7: 006,007,008,009,577,587,588,590,591,592,593,677,679,693,733,739,768,769,779,78,7 90,791,792,793,794,795,796,797,80,810,811,812,813,814,815,816,820,821,822,823,824 ,825,826,827,828,870,871,872,875,877,881,882,883,884 Zone 8: 594,595,596,597,598,599,798,799,829,830,831,832,833,834,835,836,837,838,840,841, 842,843,844,845,846,847,850,852,853,855,856,857,859,860,863,864,865,873,874,878,8 79,880,885,889,890,891,893,894,895897,898,900,901,902,903,904,905,906,907,908,91, 920,921,922,923,924,925,926,927,928,93,94,95,96,97,980,981,982,983,984,985,986,98 8,989,99 Or is there a way to use ranges instead of enumerating each two or three digit zipcode? Thanks, Rich Edited November 20, 2007 by VITW Quote Link to comment Share on other sites More sharing options...
VITW Posted November 21, 2007 Share Posted November 21, 2007 (edited) No need to reply... I converted the 2 and 3 digit zipcode list to regular expressions which caused the longest string to be 252 characters. Tested fine at http://regexlib.com/RETester.aspx. It should be okay now. Thanks, Rich Zone 1: ^005|^07[0-9]|^08[0-4]|^08[5-9]|^09|^10|^11|^18[0-1]|^183|^189|^19[0-4] Zone 2: ^01[0-3]|^06|^12[4-7]|^13[7-9]|^17[0-6]|^17[8-9]|^182|^18[4-8]|^19[5-9]|^20[6-9]|^21[0-2]|^214|^216|^21[8-9] Zone 3: ^01[4-9]|^02|^03|^04[0-3]|^045|^048|^05|^12[0-3]|^12[8-9]|^13[0-6]|^14|^15[5-9]|^166|^16[8-9]|^177|^20[0-5]|^215|^217|^22|^23|^244|^254|^26[7-8] Zone 4: ^044|^04[6-7]|^049|^15[0-4]|^16[0-5]|^167|^24[0-3]|^24[5-9]|^25[0-3]|^25[5-9]|^26[0-6]^27|^28|^29[0-7]|^37[6-9]|^40[3-9]|^41[0-8]|^42[5-6]|^43|^44|^45|^46[7-8]|^470|^47[2-3]|^48|^49[0-2] Zone 5: ^29[8-9]|^30|^31|^32|^33[4-8]|^342|^344|^34[6-7]|^349|^35|^36[0-4]|^36[7-9]|^37[0-5]|^38[0-6]|^38[8-9]|^393|^39[7-9]|40[0-2]|^42[0-4]|^427|^46[0-6]|^469|^47|^49[3-9]|^504|^50[6-7]|^52[0-4]|^52[6-8]|^53|^54|^55|^60|^61|^62|^62[2-9]|^63|^65[0-3]|^72[3-5] Zone 6: ^33[0-3]|^339|^34[0-1]|^36[5-6]|^387|^39[0-2]|^39[4-6]|^50[0-3]|^505|^50[8-9]|51[0-6]|^525|^56[0-7]|^57[0-6]|^58[0-6]|^64|^65[4-8]|^66|^67[0-6]|^678|^68[0-1]|^68[3-9]|69[0-2]|^70|^71|^72[0-2]|^72[6-9]|^73[0-1]|73[4-8]|^74|^75|^76[0-7]|^77[0-8] Zone 7: ^00[6-9]|^577|^58[7-8]|^59[0-3]|^677|^679|^693|^733|^739|^76[8-9]|^779|^78|^79[0-7]|^80|^81[0-6]|^82[0-8]|^87[0-2]|^875|^877|^88[1-4] Zone 8: ^59[4-9]|^79[8-9]|^829|^83[0-8]|^84[0-7]|^850|^85[2-3]|^85[5-7]|^859|^860|^86[3-5]|^87[3-4]|^87[8-9]|^880|^885|^889|^89[0-1]|^89[3-5]|^89[7-8]|^90[0-8]|^91|^92[0-8]|^93|^94|^95|^96|^97|^98[0-6]|^98[8-9]|^99 Edited November 21, 2007 by VITW Quote Link to comment Share on other sites More sharing options...
adifal Posted October 20, 2008 Share Posted October 20, 2008 I have set up the zipship module in my store and everything is perfect if the user is buying only one product. If they buy more than one product, I get the wrong shipping price. Any suggestions? Quote Link to comment Share on other sites More sharing options...
g7star Posted November 8, 2008 Share Posted November 8, 2008 Hi, It works good with 3 zones but when I try to add more zones upating $this->num_zones = 10; it only shows blank fields (3 fields for each extra zones) without any descriptions and doesn't really update when I click on "update" button. I'm not sure if it's relevant but I couldn't use the last version (posted 26 Feb 2008) since it didn't appear under shipping module but 2nd last one (8 Nov 2007) was fine without the problem. Any help will be greatly appreciated. Quote Link to comment Share on other sites More sharing options...
g7star Posted November 8, 2008 Share Posted November 8, 2008 Hi,It works good with 3 zones but when I try to add more zones upating $this->num_zones = 10; it only shows blank fields (3 fields for each extra zones) without any descriptions and doesn't really update when I click on "update" button. I'm not sure if it's relevant but I couldn't use the last version (posted 26 Feb 2008) since it didn't appear under shipping module but 2nd last one (8 Nov 2007) was fine without the problem. Any help will be greatly appreciated. Well, I have to 'remove' and 'install' it again. Quote Link to comment Share on other sites More sharing options...
Groundation Posted January 5, 2009 Share Posted January 5, 2009 First of all i would like to thank you for this module, its great! I have everything working, though i have one problem. I would like the module ONLY to show when products weigh more than 31,5 kg's. Our local delivery service (TNT Post) delivers packages up to 31.5 kg, and we are only going to deliver products heavier than this ourselves. How can i get this done? As it is now, checkout_shipping.php is showing Zip rate delivery (expensive) for small packages (sometimes not expensive at all). I have figured out there must be 2 ways to do this, i just can't get it done :( : - An if>else built in either zipship of checkout_shipping reffering to the product weight and checking if its >31,5 - Multiple forced shipping methods per product ( I now have prod2ship which makes it possible to force 1 shipping method to a product, if it would be possible to force multiple shipping methods, i could force all products that dont use this Zip/postalcode delivery module to all other methods and force the heavy/bulky products that our local delivery service wont ship. Could someone be so kind to tell me how to script the If>then>else (or If>else) to check the product weight, and only show this module when the weight of a product is >31.5? Or is there an other option? Help would be more than appreciated Quote Link to comment Share on other sites More sharing options...
Guest Posted June 11, 2011 Share Posted June 11, 2011 ZIPSHIP v4 just released! fyi, the newest version of ZIPSHIP postcode-based shipping and delivery has just been posted on the module area. new features include.. 1. support for PHP 5.3 2. removal of "hack" that was messing up the regex evaluations. 3. added much better examples of regex usage and comments in the default install to be honest, over the past few years the code had been kinda mangled up by well-meaning hackers, and needed a solid retool...which it got. feel feel to contact me with any question and/or comments. regards, - mark Quote Link to comment Share on other sites More sharing options...
Guest Posted June 12, 2011 Share Posted June 12, 2011 just found this link...for those of you interested in the power of regular expressions and how using them can simply your shipping/delivery needs. this is a FLEX 3 based site that gives info and lets you test REGEX strings. http://gskinner.com/RegExr/ Quote Link to comment Share on other sites More sharing options...
rpdesign Posted January 27, 2013 Share Posted January 27, 2013 (edited) Hello, Here is my wish list: 1) I think that a way to define how many zones you need from the admin edit side of the panel would be a great idea instead of modifying the code each and every time you need to change the number of zones. You know uninstall - reinstall to make this work. 2) A way to add more zones as needed 3) A way to delete out old zones. If you want I can do this and send you the modifications. :thumbsup: But it'll take me some time. :- Edited January 27, 2013 by rpetet Quote Always backup your files! You will be glad you didMy add-ons :SSPP Seperate Shipping Per Product v2.5| SupportGift vouchers for SPPC 4.22 v2.1 | Support |Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |HTML Mail v2.0 | Support |Upcoming Add ons:Addon Manager | Separate Pricing Per Product Qty |Coupon Populate | EZ-PDF Catalog Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.