azer Posted September 3, 2003 Share Posted September 3, 2003 thanks for all this work i ope it can work properly with my french shop based on ms1 ian load 5 Quote MS2 Link to comment Share on other sites More sharing options...
radders Posted September 3, 2003 Share Posted September 3, 2003 What an easy install (on loaded 5)! Many thanks for this. Quote Link to comment Share on other sites More sharing options...
jimd Posted September 4, 2003 Share Posted September 4, 2003 Just installed on MS2, and I am getting the following when addint to my cart: Fatal error: Call to undefined function: tep_output_warning() in /home/tractor/public_html/catalog/includes/modules/shipping_estimator.php on line 221 Any suggestions? Quote Link to comment Share on other sites More sharing options...
Salvo Posted September 4, 2003 Share Posted September 4, 2003 HI ALL I still don't understand... everybody says that there estimator works fine.. and that is fine if you are all happy with it... it works... BUT can someone explain how the POST CODE input field should work? Quote Link to comment Share on other sites More sharing options...
jimd Posted September 4, 2003 Share Posted September 4, 2003 I'm not very familiar with the contribution process, but a new set of install.txt files would go a long way to helping out the newbies (like me). Basically, everything I needed was in the forum, I just had to figure out what parts I needed. JimD Quote Link to comment Share on other sites More sharing options...
Guest Posted September 4, 2003 Share Posted September 4, 2003 Salvo, what problems are you having with the post code input field??? Quote Link to comment Share on other sites More sharing options...
Guest Posted September 5, 2003 Share Posted September 5, 2003 Well, I would quite like to install this but all the files don't seem to be in the latest version and there are no instructions. And I don't really want to install an old, buggy version. I have read through the thread (yes, all of it) but there seem to be lots of different bits of code for different versions and I don't know which to use. I realise the author is probably busy, but will it all be pulled together in a latest version anytime soon? Pretty please? I also have Linda's Free shipping for downloadable products and I believe there was a problem with that. Did that ever get fixed? Quote Link to comment Share on other sites More sharing options...
Salvo Posted September 6, 2003 Share Posted September 6, 2003 Salvo, what problems are you having with the post code input field??? The problem is: when one is not logged in.. 1 - post code, what is ment for post code? one has to input the actual post code where he/she lives? I tried that and it doesn't work... 2- I tried to inpunt the state/region and that doesn't not work. I tried to use it in all possible way and doesn't seam to work.. Now I have the state shipping contribution installed and when someone is logged in, let say Country = USA State = California Cost = $10.00 The cost on the checkout for shipping for that customer is $ 10.00 Works perfectly OK!! THE ESTIMATOR ESTIMATE CORRECT WHEN ONE IS LOGGED IN But the estimator doesn't recognise the state even if the shopping cart is located in the state of California. My suggestion is to estimate the shipping cost as follow: Country (drop down menu) State/Region (drop down menu) and you will see that the estimator will work 100% Quote Link to comment Share on other sites More sharing options...
asim0s Posted September 11, 2003 Share Posted September 11, 2003 i just downloaded the latest release and found no installation instructions :| also downloaded 3 versions back 1.72 1.7.1 1.7still didnt found any instructions i downloaded the 1.6 there where instructions there but unfortunately there where instructions that are not compatible with my ms2 version :| i read the whole thread through but couldnt find any hints and tips any ideas ??? thank you Quote Link to comment Share on other sites More sharing options...
aperfecthost Posted September 13, 2003 Share Posted September 13, 2003 I downloaded the latest version 1.7.2 This had 1 file in it, so I also downloaded the 1.7 I have osCommerce 2.2-CVS will this work with my cart? I have done what the instructions say, but nothing new shows in the cart. It still goes directly to the customer login page. Am I missing something I should do? Thanks. Quote Link to comment Share on other sites More sharing options...
asim0s Posted September 13, 2003 Share Posted September 13, 2003 follow the instructions by this guy and it works :D thx man Ok I played round with it a little bit... And this is what I done and I got it working... Put in your code to take away that error msg. Then as said above do not put inside the <form>...</form>.. So I deleted the </table> just before the </form> and then under this :<?php } ?> </form> </td> (remember I removed </table>) I added this <tr> <td><br><?php require(DIR_WS_MODULES . 'shipping_estimator.php'); ?></td> </tr></table> And it now works! lovely stuff! Quote Link to comment Share on other sites More sharing options...
aperfecthost Posted September 13, 2003 Share Posted September 13, 2003 Any other thoughts? still doesn't work. I still couldn't get the estimator to show up after adding something to cart. I moved the </table> and </form> all over the place trying to get that code to work. Nothing helped. wonder if there's something in the actual shipping_estimator.php file that needs to be changed. Any advice? Quote Link to comment Share on other sites More sharing options...
asim0s Posted September 13, 2003 Share Posted September 13, 2003 believe man the only 2 thing i did where do the thing i mentioned in my previous post and also this change which was also suggested by a member in a previous post $ShipTxt.=$messageStack->add('header', CART_SHIPPING_OPTIONS_LOGIN, 'warning'); what error do u get? Quote Link to comment Share on other sites More sharing options...
aperfecthost Posted September 13, 2003 Share Posted September 13, 2003 I don't get any error, no messages, no nothing. It's as if I didn't do anything. However, I did make another change in order to ensure I was modifying the right file and I was. (of course, I reversed my test to put it back to normal) Nothing happens. It's just not working at all. Quote Link to comment Share on other sites More sharing options...
asim0s Posted September 13, 2003 Share Posted September 13, 2003 hmmm i personally had the same problem as you do but i did the above changes and it worked im pasting my whole code so you can see and compare <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td align="right" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <?php } ?> </form></td> <tr> <td><br><?php require(DIR_WS_MODULES . 'shipping_estimator.php'); ?></td> </tr></table> its around line 248 in shopping cart.php Quote Link to comment Share on other sites More sharing options...
asim0s Posted September 15, 2003 Share Posted September 15, 2003 guys pls one last help on this contributions i dont have any taxes in my store i only entered in the beggining a tax zone just to test it and then set it to 0 but in the shipping estimation i get this Sub-Total: ?69,57 Flat Rate (Best Way): ?1,00 vat + vat: ?22,44 Total: ?93,01 any hints??? thx i hope some one replies this time Quote Link to comment Share on other sites More sharing options...
Jayman2 Posted September 19, 2003 Share Posted September 19, 2003 Hi, This is a great contrib. I have it installed and working like a charm. I have just one question. How can I get it to ignore the shipping charge in the displayed grand total? I'm offering free shipping for orders totaling $100.00 or more. If the sub-tolal is $98.00, for example and the shipping is $6.75, the grand total will be $104.75. Also, it will display a message, "Free shipping for orders over $100.00". The big problem is that I'm also using the Enhanced Shopping Cart contrib. The shopping cart box will be displaying, All orders over $100.00 receive FREE shipping within United States. [add $2.00]. I don't mind the Shipping Box displaying the grand total, I just don't want the shipping cost to be added to the sub-total for the Free Shipping consideration. I hope I'm explaining this clearly. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
Guest Posted October 6, 2003 Share Posted October 6, 2003 I am getting this error at bottom of shopping cart page. Any ideas? I am running on oscommerce version 2.2. Fatal error: Cannot redeclare class httpclient in /home/clubwear/public_html/catalog/includes/classes/http_client.php on line 37 Quote Link to comment Share on other sites More sharing options...
Mark1 Posted October 7, 2003 Share Posted October 7, 2003 Betty-Jo, You have loaded the Old version AND the new version. Here is how to fix it: go to /catalog/shopping_cart.php find: require("includes/application_top.php"); Remove under that line: // shipping cost require('includes/classes/http_client.php'); // shipping in basket if ($cart->count_contents() > 0) { if (!tep_session_is_registered('customer_id')) { $sendto = STORE_COUNTRY; }else{ $sendto = $customer_default_address_id; } require(DIR_WS_CLASSES . 'order.php'); $order = new order; if (!tep_session_is_registered('customer_id')) { $order->delivery['country']['id']=STORE_COUNTRY; } if($order->content_type !== 'virtual'){ $total_weight = $cart->show_weight(); $total_count = $cart->count_contents(); require(DIR_WS_CLASSES . 'shipping.php'); $shipping_modules = new shipping; $quotes = $shipping_modules->quote(); } } // eo shipping cost go to /catalog/shopping_cart.php find: <tr> <td align="right" class="main"> <b><?php echo SUB_TITLE_SUB_TOTAL; ?> <?php echo $currencies->format($cart->show_total()); ?></b> </td> </tr> Remove under these lines: <!-- shipping cost --> <tr> <td class="main"> <?php if(sizeof($quotes)){ $ShipTxt='<table ><tr><td colspan="2" class="main"><b>'.SHIPPING_OPTIONS.'</b></td></tr>'; if (!tep_session_is_registered('customer_id')) { $ShipTxt.='<tr><td colspan="2" class="main">'.SHIPPING_OPTIONS_LOGIN.'</td></tr>'; } for ($i=0, $n=sizeof($quotes); $i<$n; $i++) { $ShipTxt.= '<tr>'; $ShipTxt.='<td class="main">'.$quotes[$i]['icon'].' </td>'; $ShipTxt.='<td class="main">'.$quotes[$i]['module'].' '; for ($j=0, $n2=sizeof($quotes[$i]['methods']); $j<$n2; $j++) { $ShipTxt.= $quotes[$i]['methods'][$j]['title'].'</td><td align="right" class="main">'.$currencies->format(tep_add_tax($quotes[$i]['methods'][$j]['cost'], $quotes[$i]['tax'])).'</td>'; } $ShipTxt.= '</tr>'; } $ShipTxt.= '</table>'; echo $ShipTxt; } ?> </td> </tr> <!-- eo shippiing cost --> ***** YOUR CODE MAY LOOK SLIGHTLY DIFFERENT BECAUSE OF UPDATES TO THIS MODULE. go to /catalog/includes/lanuages/english/shopping_cart.php at the end before the final ?> Remove these 2 statements: define('SHIPPING_OPTIONS', 'Shipping Options:'); define('SHIPPING_OPTIONS_LOGIN', '<i>Please log in ,to get your personal shipping costs.</i>'); I found that installing the Version 1.3 and then replacing the catalog/includes/modules/shipping_estimator.php file with the one from the latest version (1.7.2) works. Give this a shot! Mark Quote Link to comment Share on other sites More sharing options...
Mark1 Posted October 7, 2003 Share Posted October 7, 2003 I have MS1. I installed this contribution. Everything seems to work EXCEPT when I try to select another shippind mode. Upon pressing the select button, I am redirected to a page www.mydomain.com/_ . Does anyojne have any ideas? Thanks! Mark Quote Link to comment Share on other sites More sharing options...
Mark1 Posted October 7, 2003 Share Posted October 7, 2003 Also, the update button does not work in the cart. Any help would be appreciated! Mark Quote Link to comment Share on other sites More sharing options...
Mark1 Posted October 7, 2003 Share Posted October 7, 2003 GEEEZ!! If you put an item in the shopping cart, and are not logged in, you get an error " Please Log In, to display your personal shipping costs." This seems to be working properly. After you Log In, you are sent to the default.php page? Why doesnt it bring you back to the page with all the shipping information? Is this contrib buggy or do I have something installed wrong? Any help would be appreciated! Mark Quote Link to comment Share on other sites More sharing options...
Guest Posted October 20, 2003 Share Posted October 20, 2003 Is there actually a full set of files that are available in one package for MS2? Quote Link to comment Share on other sites More sharing options...
dootch Posted October 21, 2003 Share Posted October 21, 2003 follow the instructions by this guy and it works :D thx man Ok I played round with it a little bit... ?And this is what I done and I got it working... Put in your code to take away that error msg. ?Then as said above do not put inside the <form>...</form>.. ?So I deleted the </table> just before the </form> and then under this :<?php ?} ?> ? ?</form> </td> (remember I removed </table>) I added this ? ?<tr> ? ? ?<td><br><?php require(DIR_WS_MODULES . 'shipping_estimator.php'); ?></td> ? ?</tr></table> And it now works! lovely stuff! FYI.. I had to do the 2 changes and change line 103 and 106 in shipping_estimator.php from STORE_ORIGIN_ZIP to SHIPPING_ORIGIN_ZIP to get it to not say STORE_ORIGIN_ZIP in the Zip code field when no one was logged in. Quote Link to comment Share on other sites More sharing options...
cgchris99 Posted October 22, 2003 Share Posted October 22, 2003 Anyone find a fix for ship-in-cart and the upsxml doubling the shipping total? 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.