prof3ta Posted October 26, 2004 Share Posted October 26, 2004 Hi, My boss wants me to have the FEDEX and AIRBORNE shipping costs in the cart without having to log in to the store. SO basically just input your zip code. I've installed the Ship in Cart module by Acheron and it works perfect. It quotes for both Airborne and Fedex in my shopping cart. The only problem is customers have to be logged in, and I though it'd be cool to have the customer just type in their zip code and produce the costs that way. So I went in and tweaked Acheron's code and I got it to quote for Fedex in a really ugly way... but not for Airborne. Anyhow, I'm sure there's contribs out there that do this for you, but I havent found them yet. I would like to code my own but I'm taking too long and need to have this finished ASAP (my boss you know...). If any of you can shine a light on what to do or where to go it'll be greatly appreciated. Thanks. Oh and you can check my *almost* working code at www.flukerstore.com , just add something to your cart and enter your zip code. Quote Link to comment Share on other sites More sharing options...
prof3ta Posted October 27, 2004 Author Share Posted October 27, 2004 *bump* help??? Quote Link to comment Share on other sites More sharing options...
Jan Zonjee Posted October 27, 2004 Share Posted October 27, 2004 My approach would be to add the entered zipcode to the session. Just as products in the cart are added to the session: you don't need to login to add products to the cart. I haven't looked at any code how to do that though. Quote Link to comment Share on other sites More sharing options...
prof3ta Posted October 27, 2004 Author Share Posted October 27, 2004 My approach would be to add the entered zipcode to the session. Just as products in the cart are added to the session: you don't need to login to add products to the cart. I haven't looked at any code how to do that though. <{POST_SNAPBACK}> That's actually what I'm doing and it's kinda working. The problem is for some reason I can only seem to get quotes for fedex ... you can see an example at www.flukerstore.com . Just add something to the cart and enter your zipcode. >_< Quote Link to comment Share on other sites More sharing options...
prof3ta Posted October 28, 2004 Author Share Posted October 28, 2004 :-" lil bump Quote Link to comment Share on other sites More sharing options...
prof3ta Posted November 1, 2004 Author Share Posted November 1, 2004 :'( Quote Link to comment Share on other sites More sharing options...
dreamscape Posted November 1, 2004 Share Posted November 1, 2004 the dhl/airborne module also needs the zone_id in addition to the postalcode ;) add a state input and you should be set ;) PS. Also make sure you're giving it the country information as well (but I think the ship in cart does this by default, just does not give postalcode or zone_id) Quote The only thing necessary for evil to flourish is for good men to do nothing - Edmund Burke Link to comment Share on other sites More sharing options...
prof3ta Posted November 3, 2004 Author Share Posted November 3, 2004 the dhl/airborne module also needs the zone_id in addition to the postalcode ;) add a state input and you should be set ;) PS. Also make sure you're giving it the country information as well (but I think the ship in cart does this by default, just does not give postalcode or zone_id) <{POST_SNAPBACK}> oh man thanks... leave it to dreamscape to solve it all! yeah i hardcoded the country information to the US id cause thats the only place we ship. THANKS! Quote Link to comment Share on other sites More sharing options...
prof3ta Posted November 3, 2004 Author Share Posted November 3, 2004 while we're fresh on the subject, any ideas of how I could convert a zip code to a state ID? there must be a way ;) Quote 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.