Waza04 Posted March 29, 2003 Share Posted March 29, 2003 Dont Work!! On clicking Recalaculate... Get a error - Debug Error - document.estimator is null or not an object! Then get divereted to: http://domain.com/catalog/_ Quote Link to comment Share on other sites More sharing options...
Guest Posted March 29, 2003 Share Posted March 29, 2003 You have to place it UNDER the buttons... Quote Link to comment Share on other sites More sharing options...
Waza04 Posted March 29, 2003 Share Posted March 29, 2003 I Have! I have upgraded from Linda working version - I have just simply replayed the file!! HELP!! Quote Link to comment Share on other sites More sharing options...
wizardsandwars Posted March 29, 2003 Share Posted March 29, 2003 Fantrastic!! Works great! www.wizardsandwars.com The only other thing the I would suggest to enhanse this mod is to pre-populate the login fields with this country and zip value. Quote ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help. Link to comment Share on other sites More sharing options...
Waza04 Posted March 29, 2003 Share Posted March 29, 2003 Sorry - Yes I have it working now!! - Is their any chance to make it go BEFORE the buttons? Thanks, Warren Quote Link to comment Share on other sites More sharing options...
Guest Posted March 29, 2003 Share Posted March 29, 2003 Warren. You have to alter the shopping_cart.php Linda's version placed the shipping cost before the cart buttons. They should come underneath: find: <?php } else { ?> <tr> <td align="center" class="main"><?php echo TEXT_CART_EMPTY; ?></td> </tr> add just above these lines put: <tr> <td><br><?php require(DIR_WS_MODULES . 'shipping_estimator.php'); ?></td> </tr> Quote Link to comment Share on other sites More sharing options...
Guest Posted March 29, 2003 Share Posted March 29, 2003 I've tried, but you cannot have 2 forms inside each other... And I couldn't use the cart form because the application_top makes a relocation.... Anyway, don't make the user scroll down to be able to klick the checkout button... Maybe he won't find it! Quote Link to comment Share on other sites More sharing options...
wizardsandwars Posted March 29, 2003 Share Posted March 29, 2003 Edwin, what do you think of prepopulating the login form iwth the selected values to eliminate redundancy? Quote ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help. Link to comment Share on other sites More sharing options...
Waza04 Posted March 29, 2003 Share Posted March 29, 2003 OK - Thanks! Il leave under the buttons! Hoe can I make the box align to the right though? Thanks, Warren Quote Link to comment Share on other sites More sharing options...
Guest Posted March 29, 2003 Share Posted March 29, 2003 Chris, That's not so difficult... find: $account['entry_country_id'] = STORE_COUNTRY; replace with: if (tep_session_is_registered('cart_country_id')){ $account['entry_country_id'] = $cart_country_id; $account['entry_postcode']=$cart_zip_code; }else{ $account['entry_country_id'] = STORE_COUNTRY; } Quote Link to comment Share on other sites More sharing options...
Guest Posted March 29, 2003 Share Posted March 29, 2003 Warren. find <!-- shipping_estimator //--> <tr> <td> <table><tr><td> Replace with <!-- shipping_estimator //--> <tr> <td align="right"> <table><tr><td> Quote Link to comment Share on other sites More sharing options...
Guest Posted March 29, 2003 Share Posted March 29, 2003 Chris, That's not so difficult... find: $account['entry_country_id'] = STORE_COUNTRY; replace with: if (tep_session_is_registered('cart_country_id')){ $account['entry_country_id'] = $cart_country_id; $account['entry_postcode']=$cart_zip_code; }else{ $account['entry_country_id'] = STORE_COUNTRY; } I mean in the /catalog/create_account.php Quote Link to comment Share on other sites More sharing options...
wizardsandwars Posted March 29, 2003 Share Posted March 29, 2003 Hmmn, that doesn't pre-populate that create an account form. Feel free to give it a try at www.wizardsandwars.com. Very nice contribution, though. I love it! Quote ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help. Link to comment Share on other sites More sharing options...
Guest Posted March 29, 2003 Share Posted March 29, 2003 You have the create account in the login screen... Can't you find the code inside the login page then? To see it working after adding someting to the basket klick on checkout in the url replace login.php with create_account.php leaving the oscsid in place Quote Link to comment Share on other sites More sharing options...
wizardsandwars Posted March 29, 2003 Share Posted March 29, 2003 Bwhahaah! Oh yeha. I forgot about that. Duh. Quote ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help. Link to comment Share on other sites More sharing options...
DavidR Posted March 30, 2003 Share Posted March 30, 2003 Excellent contribution! Thank you to all involved :D. I center my shop and I think the fixed 750px width might be causing the "Zip" field to wrap down to the next line along with "Recalculate", while leaving the zip label above. I added a "nowrap" as follows that fixed it. On line 125 in shipping_estimator.php, I changed: $ShipTxt.='<tr><td colspan="3" class="main">' . to $ShipTxt.='<tr><td colspan="3" class="main" nowrap>' . It's a very minor issue but it made me happy :wink:. Thanks again for a great solution. David Quote Link to comment Share on other sites More sharing options...
casper Posted March 30, 2003 Share Posted March 30, 2003 Thank you very much for great contribution! but Free shipping does not work if you are not logged in. Could you tell me how to make it work? Thanks again!! :lol: Quote Link to comment Share on other sites More sharing options...
Ajeh Posted March 30, 2003 Share Posted March 30, 2003 Which Free Shipping? The one for when the order is over a certain amount? Quote Link to comment Share on other sites More sharing options...
casper Posted March 30, 2003 Share Posted March 30, 2003 Which Free Shipping? The one for when the order is over a certain amount? Yes. I have set free shipping over certain amount and when I go shopping cart, it shows all the shipping options even when I have more than that amount. It shows "free shipping over ~" when I am logged in. Is this happening just to me?? Thank you very much!!!!!!!! Quote Link to comment Share on other sites More sharing options...
Ajeh Posted March 30, 2003 Share Posted March 30, 2003 Let me check ... that was something I tossed in there and thought it was working. Quote Link to comment Share on other sites More sharing options...
Ajeh Posted March 30, 2003 Share Posted March 30, 2003 Go figure ... Works when logged in only. Hmm ... is this a good thing or bad? Well ... I would think it is because it does not know if you are international or local so it does not give the response back for the Free Shipping until logged in. But I may have added that condition within being logged in. Let me peek at it when I get some time and see what the scoop is. Quote Link to comment Share on other sites More sharing options...
casper Posted March 30, 2003 Share Posted March 30, 2003 Thank you Linda! I was just reading another topic you were posting. You are so kind.... Let us know when you figure it out! Thanks again! :lol: :lol: Quote Link to comment Share on other sites More sharing options...
Ajeh Posted March 30, 2003 Share Posted March 30, 2003 Will do ... I could of coding something dumb in here when testing for the Free Shipping setting ... :roll: Quote Link to comment Share on other sites More sharing options...
Guest Posted March 30, 2003 Share Posted March 30, 2003 The one for when the order is over a certain amount? :oops: :oops: :oops: :oops: Really embarassed now! But where can I activate this? to test this? I've searched the admin, but don't seem to find this feature... :oops: :oops: :oops: :oops: Quote Link to comment Share on other sites More sharing options...
mugitty Posted March 30, 2003 Share Posted March 30, 2003 Edwin; This is really a great added feature - Thank you and all who have contributed! A couple of install notes: I had installed the v1.4 and just did the upgrade to v1.5 on a mid-December 2002 snapshot. 1)The "Estimate Shipping" link that was in the InfoBox resulted in loading only part of the page - since the shipping shows in the shopping cart when viewed, I just removed that link, as it seems somewhat unnecessary. I imagine that I'll eventually put some notice somewhere to the effect that, If one wants to see estimated shipping costs, they just need to add the item to the shopping cart. 2)The pink hilite line that said "Login to view your personal shipping costs" I changed to "Please select Country and Postal (ZIP) Code to display Shipping Estimates" since the checkout button is immediately above the shipping box and that will take the customer to login anyway. Again, many thanks for a great mod :wink: Quote ... if you want to REALLY see something that doesn't set up right out of the box without some tweaking, try being a Foster Parent! 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.