pertho Posted October 20, 2007 Share Posted October 20, 2007 In checkout_shipping.php the lines chose the cheapest method for the customer: // if no shipping method has been selected, automatically select the cheapest method. // if the modules status was changed when none were available, to save on implementing // a javascript force-selection method, also automatically select the cheapest shipping // method if more than one module is now enabled if ( !tep_session_is_registered('shipping') || ( tep_session_is_registered('shipping') && ($shipping == false) && (tep_count_shipping_modules() > 1) ) ) $shipping = $shipping_modules->cheapest(); I have a shop, where the most commen method is by "Postdanmark" and another method is "Pick up". The percent is 99% to "Postdanmark" and 1% to "Pick up". Some customers does noes not chose "Postdanmark", even if they wants the articles send to them with "Postdanmark". The code choses the cheapest method, and set it as standard, when the custemor go to checkout_shipping.php. This is "Pick up". I want to change the default value to "Postdanmark", when the customer comes to checkout_shipping.php. How do I do that? I have two webpages. In the one of them I use flat, in the other whone I use zones for "Postdanmark" Thank you for your help. Link to comment Share on other sites More sharing options...
Guest Posted October 21, 2007 Share Posted October 21, 2007 Try this: http://addons.oscommerce.com/info/4396 . -jared Link to comment Share on other sites More sharing options...
pertho Posted October 21, 2007 Author Share Posted October 21, 2007 Try this: http://addons.oscommerce.com/info/4396 . -jared Thanks. It works. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.