Guest benlogan Posted September 11, 2005 Share Posted September 11, 2005 Hi, I don't know if it has already been done, but I worked it out. This is my first time doing php coding, so it wont be that greate, but, it solves the problem of not adding the shipping to the total without the customer clicking it. What it does is adds "Please select a shipping method." as the fault shipping option. So it forces the user to select a method. although it doesnt stop them from just clicking continue. i will try to fix that. anyway do this. open /modules/shipping/by_weight/calc.php find $countryISO = countryIso($basket['delInf']['country']); add just below $SelectMethod = "Please select a shipping method."; find if($sum == 0){ $sum = 0.00; } $taxVal = taxRate($module['tax']); add just below //start "plesae select method" $shippingPrice .= "<option value='".$i."C0|".$SelectMethod."'"; if($i."C0" == $optNo){ //$shippingPrice .= "selected='selected'"; //$basket = $cart->setVar("By Weight (1st Class)","shipMethod"); } $sum = $sumClass1; $shippingPrice .= ">".$SelectMethod."</option>\r\n"; //$shippingPrice .= "<option value='".$i."C0|".$sumClass1."'"; //end method now it should work. as you can see its not very conventional, but it works. i just need to work out, how to stop the user from not selecting a method. if anyone can help me, please feel free. Quote Link to comment Share on other sites More sharing options...
Guest Posted September 21, 2005 Share Posted September 21, 2005 Benlogan, great minds think alike. Just last night I suggested that doing this might be a solution, and now I see you have already done it. I am going to try this. Have you found a solution yet that would prevent the user from just clicking Continue? I will be very happy if you have. Please post it. Thanks!! Quote Link to comment Share on other sites More sharing options...
Guest andysim Posted September 21, 2005 Share Posted September 21, 2005 Dear benlogan I am not sure if this is help or even possoble but just suggest. Is it possible to put some hidden commend on "Continue" botton? so when customer click on "continue" button, updated total amount automatically. Like "mouseOver" commend. Possible? or Duh! I wish it is good idea and you make it soon. Sincerely, Andy Quote Link to comment Share on other sites More sharing options...
Guest benlogan Posted September 21, 2005 Share Posted September 21, 2005 What you are after is here. It has one problem, if the user clicks it quick enough, it doesnt have time to reload, and continues with wrong or no shipping. MouseOver Shipping Addition Quote Link to comment Share on other sites More sharing options...
Guest megagente Posted September 21, 2005 Share Posted September 21, 2005 I think is better to wait for 3.0.3 on a few weeks. Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted September 21, 2005 Share Posted September 21, 2005 I have rewritten how this works and will be much improved in 3.0.3 which I proprose to release tomorrow. Thursday 22nd Sept. Quote Link to comment Share on other sites More sharing options...
Guest vrakas Posted September 21, 2005 Share Posted September 21, 2005 Everyone is waiting for this release ;) Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted September 21, 2005 Share Posted September 21, 2005 Me too!! I'm happy. Just a little more testing with PayPal API and we are ready to rock. It has been more work than I imagined. Quote Link to comment Share on other sites More sharing options...
markscarts Posted September 21, 2005 Share Posted September 21, 2005 Good news Brooky! - Hmmm, may be difficult to sleep tonight 3.0.3 which I proprose to release tomorrow. Thursday 22nd Sept. How about a specific time? <jus' kiddin' > Quote Link to comment Share on other sites More sharing options...
kinetic Posted September 21, 2005 Share Posted September 21, 2005 Thank you thank you thank you brooky!!!! you are da man im eagerly awaiting the 3.0.3 release and I know you have busted arse to get it right. does the nekkie cubecart dance (_|\_) (_/|_) (_|\_) (_/|_) (_|\_) (_/|_) (_|\_) (_/|_) (_|\_) (_/|_) (_|\_) (_/|_) (_|\_) (_/|_) (_|\_) (_/|_) (_|\_) (_/|_) (_|\_) (_/|_) Kinetic Quote Link to comment Share on other sites More sharing options...
Guest Posted September 21, 2005 Share Posted September 21, 2005 kinetic, while I appreciate brooky's hard work and your immense enthusiasm, I think we can all do with the "nekkie cubecart dance" ;) Quote Link to comment Share on other sites More sharing options...
kinetic Posted September 21, 2005 Share Posted September 21, 2005 kinetic, while I appreciate brooky's hard work and your immense enthusiasm, I think we can all do with the "nekkie cubecart dance" with? or without? (_|\_)(_/|_).... Quote Link to comment Share on other sites More sharing options...
Guest sunshine Posted September 21, 2005 Share Posted September 21, 2005 rock, bounce, wiggle, wiggle oh yeah! ;) Quote Link to comment Share on other sites More sharing options...
Guest Posted September 22, 2005 Share Posted September 22, 2005 Oh geez....we've created a monster. A funky nekkie polka monster. AGHHHHHHH!!! Quote Link to comment Share on other sites More sharing options...
Guest cntgifts Posted September 28, 2005 Share Posted September 28, 2005 3.0.3 and the same problem :rolly: 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.