♥DAVID3733 Posted June 17, 2011 Share Posted June 17, 2011 Hi there I have Ship in cart 2.2.2.a installed (for a couple of years) and all is working fine except i think it would be better if the county/state changed when the country was changed and of course the postage price and cart with out having to press the update button at every stage, I had a look through and cant see this discussed, has anybody have this working like this and do they know what the fix was thank you Quote David Link to comment Share on other sites More sharing options...
Guest Posted August 28, 2011 Share Posted August 28, 2011 Hi Guys I am using Ship In Cart v2.2.2a+product info with OSC rca2.2 I have some prob with the Product info page. Problem 1: For user that not log in, i have enabled the state selector option and the shown "update" button option. The prob is when a state is selected and update button hit the url will come to something like: "wwww.xxx/catalog/_", and no such address page will be shown. Problem 2: If user log in with more than an address to be selected, the update button doesn't shown and i can't refresh it after selecting one of the address in the profile. Anyone facing the same prob and got the solution?? Many thanks Hi Folks and days2, first of all thanks to days2 for saving me some time on typing, since I am having exactly the same errors on MS 2.2 rc2a. Hours of searching made me assume that it has got something to do with either the </form> not being included or the form itself being placed in the wrong place. Whatever I tried did not work. I also tried this solution but am not sure I understood what pvallen wants to say. Me personally I suspect it could have something to do with <a href="_" onclick="return shipincart_submit(\'\');"> I made a .pdf with colored HTML and line numbers of my shopping_cart.php, shipping_estimator.php and product_shipping_estimator.pdf hoping somebody can help me. Thank you very much Nala Quote Link to comment Share on other sites More sharing options...
Guest Posted September 26, 2011 Share Posted September 26, 2011 How can I remove the carrier column in the shipping estimator? Quote Link to comment Share on other sites More sharing options...
pafranklin Posted January 11, 2012 Share Posted January 11, 2012 Hi there, I haven't trawled every page in this thread but wanted to post an update for all of those who have experienced an error on the product page whereby anyone clicking on the "update cart" button gets an error of page cannot be dispayed and the url appears something like http://www.xyzdomain.com/_. To correct this find: <tr> <td> <br> <?php $cart->add_cart($product_info['products_id']); //add current to cart for estimator if (CARTSHIP_ONOFF == 'Enabled') { require(DIR_WS_MODULES . 'product_shipping_estimator.php'); } else {}; $cart->remove($product_info['products_id']); //lets remove current product from cart ?> </td> </tr> and add </form> just before it so that the code looks something like: </form> <tr> <td> <br> <?php $cart->add_cart($product_info['products_id']); //add current to cart for estimator if (CARTSHIP_ONOFF == 'Enabled') { require(DIR_WS_MODULES . 'product_shipping_estimator.php'); } else {}; $cart->remove($product_info['products_id']); //lets remove current product from cart ?> </td> </tr> I hope this helps someone - It worked for me and the module works well, so thanks to those for developing it. Paul. Quote You will never learn if you don't try. And boy am I trying....! Link to comment Share on other sites More sharing options...
sw0857 Posted April 2, 2012 Share Posted April 2, 2012 anyone's able to modify code so it get rid of qty 1 rather than entire product within same product_id? $cart->remove($product_info['products_id']); //lets remove current product from cart Quote Link to comment Share on other sites More sharing options...
Brainbug125 Posted April 8, 2012 Share Posted April 8, 2012 Hi there, I haven't trawled every page in this thread but wanted to post an update for all of those who have experienced an error on the product page whereby anyone clicking on the "update cart" button gets an error of page cannot be dispayed and the url appears something like http://www.xyzdomain.com/_. To correct this find: <tr> <td> <br> <?php $cart->add_cart($product_info['products_id']); //add current to cart for estimator if (CARTSHIP_ONOFF == 'Enabled') { require(DIR_WS_MODULES . 'product_shipping_estimator.php'); } else {}; $cart->remove($product_info['products_id']); //lets remove current product from cart ?> </td> </tr> and add </form> just before it so that the code looks something like: </form> <tr> <td> <br> <?php $cart->add_cart($product_info['products_id']); //add current to cart for estimator if (CARTSHIP_ONOFF == 'Enabled') { require(DIR_WS_MODULES . 'product_shipping_estimator.php'); } else {}; $cart->remove($product_info['products_id']); //lets remove current product from cart ?> </td> </tr> I hope this helps someone - It worked for me and the module works well, so thanks to those for developing it. Paul. Thank you thank you.....that solved the problem (at least for me) Quote My Add On for the Osc Community MMB-Manager (Modules,Menu,Boxes Manager) V. 1.0 for 2.31 Link to comment Share on other sites More sharing options...
greasemonkey Posted May 1, 2012 Share Posted May 1, 2012 Hey everyone... I've had ship in cart installed for some time... everything has been working perfectly. However (there's always a however)... I recently installed SPPC and I'm now using table rates exclusivly for my wholesale customers. The issue is; table rates are always showing when customers are "not" logged in (I presume because it does not require a postal code)... and because my wholesale customer have different shipping rates I need to hide this. There is no "if" statement in the shipping_estimator.php for sppc customer groups and it doesn't use classes/shipping.php. I've been trying to figure something out however my php skills are very lacking. Is there anybody out there who has an issue like this? Quote Link to comment Share on other sites More sharing options...
greasemonkey Posted May 2, 2012 Share Posted May 2, 2012 Well I figured it out.... For anyone who is interterested... I added the following code to each shipping module that I did not want to display for customer group 0 // BOF Exclude customer group 0 from Shipping estimator...sb global $customer_id; if (isset($_SESSION['sppc_customer_group_id']) && $_SESSION['sppc_customer_group_id'] != '0') { $customer_group_id = $_SESSION['sppc_customer_group_id']; } else { $customer_group_id = '0'; $this->enabled = false; } // EOF BOF Exclude from Shipping estimator...sb Quote Link to comment Share on other sites More sharing options...
Duroniel Posted December 1, 2013 Share Posted December 1, 2013 Today I noticed something on my localhost that does not appear in my live site, I get this errormessage in the shopping cart: Warning: Creating default object from empty value in C:\-----\includes\modules\shipping_estimator.php on line 82 Anyone knows why this has appeared? I have compared this file with the one on the live site, and they are identical.. Quote Link to comment Share on other sites More sharing options...
steeevo85 Posted April 7, 2015 Share Posted April 7, 2015 After enabling negotiated rates, the shipping estimator won't return rates unless the user is logged in. Does anyone know of a way to fix this? Quote Link to comment Share on other sites More sharing options...
rubberfashion Posted June 30, 2015 Share Posted June 30, 2015 (edited) Hello, Nice Contrib! i have a problem with this contrib. When i add first time a product everything works find. But when i update the cart to items 2x or add any other product no shipping costs were displayed. http://www.rubberfashion.de/shopping_cart.php I use Contrib visible contries. i have no clou why this happend. Thanks for help. Kind Regards David Edited June 30, 2015 by rubberfashion Quote Link to comment Share on other sites More sharing options...
rubberfashion Posted June 30, 2015 Share Posted June 30, 2015 (edited) Hello, Nice Contrib! i have a problem with this contrib. When i add first time a product everything works find. But when i update the cart to items 2x or add any other product no shipping costs were displayed. http://www.rubberfashion.de/shopping_cart.php I use Contrib visible contries. i have no clou why this happend. Thanks for help. Kind Regards David What i find out currently is that the array $quotes = $shipping_modules->quote(); is empty. tep_count_shipping_modules() is 0. Means that the shipping module is not loaded. Also only push the update (quantity) button make $quotes to 0. Thats why the output is like it is.But i do not know how to solve. Edited June 30, 2015 by rubberfashion Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted June 30, 2015 Share Posted June 30, 2015 Hello Dave @@rubberfashion, I tried on my teststore and another real store and all works correct there. Please see yourself: http://www.sarfotostock.com/osCommerce234bs/shopping_cart.php I thought first that the problem is that you have only one shipping module installed, but it works in my test store also with only the same module installed which you are using. Please try the following: Add a second shipping module and try. Another subject: which php version are you running?? Kindest regards Rainer Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
rubberfashion Posted June 30, 2015 Share Posted June 30, 2015 PHP 5.4.41-1~he.0 (Zend: 2.4.0) I have installed these modules. What is curious is, taht the first time all went well and after updating nothing works. Maybe you can recommend me a shipping modul which is much better. Thanks for your help. Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted June 30, 2015 Share Posted June 30, 2015 Hello Dave @@rubberfashion, Sorry just to be sure: Do you mean by updating to use the quantity update button or did you any update to the code and it stopped working?? First of all I saw that you have some modifications in your shopping cart. Could you please give a try with and unmodified shopping cart, of course adding the mod to show the shipping estimator. You can also upload your modified shopping cart file and I'll use it for testing. Kind regards Rainer Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
rubberfashion Posted June 30, 2015 Share Posted June 30, 2015 Hi, i have tried with new shopping_cart.php from fresh installation. No Change. I had deactivated all shipping modules and deactivate separatly. No Channge. When i push the Update Button (new quantity) the shipping costs window get empty. I do not know if it make sense to send you the code of the edited shopping_cart.php. Maybe it is an error in application_top.php?? Maybe i can send you my modified shopping_cart.php via PN. Much Thanks for your help!! Kind Regards Dave Quote Link to comment Share on other sites More sharing options...
♥BlueBunyip Posted July 1, 2015 Share Posted July 1, 2015 I had the exact same experience - it works fine on first use but as soon as you add or update anything the information is gone. I already have an older version of Ship In Cart working on 234GOLD BS so wasn't much concerned so just rolled back to it but when I saw the post from @@rubberfashion I thought I'd mention I had the same issue. Greg PHP 5.5.22 MySQL 5.6.23 Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted July 1, 2015 Share Posted July 1, 2015 (edited) @@BlueBunyip, I'm on it. regards Rainer Edited July 1, 2015 by raiwa Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥raiwa Posted July 1, 2015 Share Posted July 1, 2015 Hello Greg @@BlueBunyip, Please try for now to define all countries for the most expensive shipping zone. I'll try to find a generic fix for all configurations. Please, which version do you use which is working correct on your store?? Thank you and kind regards Rainer Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥BlueBunyip Posted July 1, 2015 Share Posted July 1, 2015 Please, which version do you use which is working correct on your store?? I'm using the version off the boards here: http://www.oscommerce.com/forums/topic/396632-shipping-quote-in-cart-2334-support-thread/?p=1698164 Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted July 2, 2015 Share Posted July 2, 2015 Hello Greg @@BlueBunyip, I believe I found the error. If you could try: The Variables “$cart_country_id, $cart_zone” were missing in the globals list. Please replace line 55 in includes/modules/content/cart/cm_cart_shipping_estimator.php: global $oscTemplate, $currencies, $request_type, $cart, $order, $total_count, $method, $module, $shipping, $navigation, $cart_country_id, $cart_zone; Let me know if it's solved, so I can upload the fix. Thank you and kind regards Rainer Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
rubberfashion Posted July 2, 2015 Share Posted July 2, 2015 Thanks Rainer for your help :) Nice Contrib. Great Work! Quote Link to comment Share on other sites More sharing options...
♥BlueBunyip Posted July 3, 2015 Share Posted July 3, 2015 Hello Greg @@BlueBunyip, I believe I found the error. If you could try: The Variables “$cart_country_id, $cart_zone” were missing in the globals list. Please replace line 55 in includes/modules/content/cart/cm_cart_shipping_estimator.php: global $oscTemplate, $currencies, $request_type, $cart, $order, $total_count, $method, $module, $shipping, $navigation, $cart_country_id, $cart_zone; Let me know if it's solved, so I can upload the fix. Thank you and kind regards Rainer Hi Rainer, you also need to add $total_weight to the globals - otherwise the shipment weight is not passed to shipping modules that need the weight. Once this is done it all looks good for me now. Great work Greg raiwa 1 Quote Link to comment Share on other sites More sharing options...
♥Tsimi Posted July 3, 2015 Share Posted July 3, 2015 @@raiwa Hi Rainer In addition to what Greg mentioned above you also need to add $language into the globals otherwise you get a "file not found" error when you reach free shipping. raiwa 1 Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted July 3, 2015 Share Posted July 3, 2015 @@Tsimi, @@BlueBunyip, Thank you guys. I'll include it in the next update. Rainer Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets 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.