storeweb88 Posted August 14, 2013 Posted August 14, 2013 need ideas for setting up shipping>> Any ideas or modules will greatly be appreicated.. 1 > Free on certain products within 48 states 2 > over a certain amount within the 48 states. ($90.00) I did try with the regular oscommerce amount total but then ups didn't display. I need ups to display. Thank you Quote
greasemonkey Posted August 15, 2013 Posted August 15, 2013 @@storeweb88 here are a couple of options; 1 > Free on certain products within 48 states You could use ZWFS (Zero Weight Free shipping). Just zero the weights on the products that you want to have free shipping and your done... Then shipping will be calculated only on items with weights... 2 > over a certain amount within the 48 states. ($90.00) I did try with the regular oscommerce amount total but then ups didn't display. I need ups to display I hacked together a module for this... by copying the flat rate module and renaming (them... you need the language file too) it "free.php" and then added this line; if( function_exists('tep_customer_greeting') && $order->info['subtotal'] < 300 ) $this->enabled = false; } AFTER if ($check_flag == false) { $this->enabled = false; } } Might take a little playing around... but its doable with the above instructions... Although, I'm sure there is a better way for someone with more experience. Quote
storeweb88 Posted August 15, 2013 Author Posted August 15, 2013 thank you :) However is there any suggestions on doing it with the weight? I'm trying to think down the road for the future. Quote
greasemonkey Posted August 15, 2013 Posted August 15, 2013 Not that I have tried... However if you google "free shipping per product" I bet you would find something. BTW, if you use the hack to create a free shipping mod that still shows your UPS.... Don't forget to change this line from "300" to "90" (with out the "") if( function_exists('tep_customer_greeting') && $order->info['subtotal'] < 300 ) Quote
storeweb88 Posted August 20, 2013 Author Posted August 20, 2013 Not that I have tried... However if you google "free shipping per product" I bet you would find something. BTW, if you use the hack to create a free shipping mod that still shows your UPS.... Don't forget to change this line from "300" to "90" (with out the "") if( function_exists('tep_customer_greeting') && $order->info['subtotal'] < 300 ) I did what you said and downloaded the http://addons.oscommerce.com/info/8409 ( Just a side note to whoever uses this If you copy and paste the files it works fine, if you follow the directions in editing a few things are missed so it won't work. KEEP IN MIND THAT IF YOU HAVE OTHER MODULES YOU MAY WRITE OVER OTHER FILES IF YOU COPY AND PASTE.) Now I'm just stuck on >> 1. when it goes to free shipping on how to display rest of the shipping options 2. and changing the national location to remove a few states. Quote
storeweb88 Posted August 20, 2013 Author Posted August 20, 2013 I did what you said and downloaded the http://addons.oscommerce.com/info/8409 ( Just a side note to whoever uses this If you copy and paste the files it works fine, if you follow the directions in editing a few things are missed so it won't work. KEEP IN MIND THAT IF YOU HAVE OTHER MODULES YOU MAY WRITE OVER OTHER FILES IF YOU COPY AND PASTE.) Now I'm just stuck on >> 1. when it goes to free shipping on how to display rest of the shipping options 2. and changing the national location to remove a few states. Ok I figured out how to do the states certain areas.. I just went into zones setup another country and then change the zone in the state.. Now just the last part getting step 1. to work :) Quote
greasemonkey Posted August 20, 2013 Posted August 20, 2013 Did you complete this step (assuming you are using 2.3 don't forget to install the module via the admin)? by copying the flat rate module and renaming (them... you need the language file too) to "free.php" and then added this line; if( function_exists('tep_customer_greeting') && $order->info['subtotal'] < 300 ) $this->enabled = false; } AFTER if ($check_flag == false) { $this->enabled = false; } } Maybe I should have been more clear in my brief instructions :) - once you create your 2 new "free.php" files you will have to open them both and replace flat and FLAT (case sensitive) with free & FREE. Example function flat() { global $order; $this->code = 'flat'; $this->title = MODULE_SHIPPING_FLAT_TEXT_TITLE; Becomes function free() { global $order; $this->code = 'free'; $this->title = MODULE_SHIPPING_FREE_TEXT_TITLE; If so, disable the free shipping order total module (it won't be used at all)... Tell me what you see... Do you get shipping quotes? Quote
storeweb88 Posted August 20, 2013 Author Posted August 20, 2013 Did you complete this step (assuming you are using 2.3 don't forget to install the module via the admin)? Maybe I should have been more clear in my brief instructions :) - once you create your 2 new "free.php" files you will have to open them both and replace flat and FLAT (case sensitive) with free & FREE. Example function flat() { global $order; $this->code = 'flat'; $this->title = MODULE_SHIPPING_FLAT_TEXT_TITLE; Becomes function free() { global $order; $this->code = 'free'; $this->title = MODULE_SHIPPING_FREE_TEXT_TITLE; If so, disable the free shipping order total module (it won't be used at all)... Tell me what you see... Do you get shipping quotes? No I didn't read everything completely.... thanks for pointing that out, which module am I copying the flat rate? Will this work with the 48 states and free shipping over a certain amount? My list>>> 1. when it goes to free shipping on how to display rest of the shipping options Quote
greasemonkey Posted August 20, 2013 Posted August 20, 2013 thanks for pointing that out, which module am I copying the flat rate? Yes... Copy (DON'T FORGET TO BACKUP!) includes/modules/shipping/flat.php and includes/languages/english/modules/shipping/flat.php And rename to includes/modules/shipping/free.php and includes/languages/english/modules/shipping/free.php. Then, once you create your 2 new "free.php" files you will have to open them both and replace text "flat" and "FLAT" (case sensitive) with "free" & "FREE" (no ""... also make sure not to add any spaces before or after the text)... Use find and replace feature of notepad++ with the "case match" box checked. Then in includes/modules/shipping/free.php (the new module you just created) add; // don't forget to change < 300 to the value you wish for free shipping// if( function_exists('tep_customer_greeting') && $order->info['subtotal'] < 300 ) $this->enabled = false; } AFTER if ($check_flag == false) { $this->enabled = false; } } If you then disable your free shipping order total module you should see all shipping rates and, if you install this module (if using 2.3 in the admin under shipping modules), once the free shipping threshold you set is reach it should then also display. Your customer can then choose to use UPS if they wish. Added xxample; I have the text in my includes/languages/english/modules/shipping/free.php changed to; define('MODULE_SHIPPING_FREE_TEXT_WAY', 'Ground shipping (3 to 10 days).'); I have found this dramatically reduces the number of free shipping orders by encouraging them to choose UPS and pay for the shipping to receive faster delivery. Quote
storeweb88 Posted August 20, 2013 Author Posted August 20, 2013 (edited) Yes... Copy (DON'T FORGET TO BACKUP!) includes/modules/shipping/flat.php and includes/languages/english/modules/shipping/flat.php And rename to includes/modules/shipping/free.php and includes/languages/english/modules/shipping/free.php. Then, once you create your 2 new "free.php" files you will have to open them both and replace text "flat" and "FLAT" (case sensitive) with "free" & "FREE" (no ""... also make sure not to add any spaces before or after the text)... Use find and replace feature of notepad++ with the "case match" box checked. Then in includes/modules/shipping/free.php (the new module you just created) add; // don't forget to change < 300 to the value you wish for free shipping// if( function_exists('tep_customer_greeting') && $order->info['subtotal'] < 300 ) $this->enabled = false; } AFTER if ($check_flag == false) { $this->enabled = false; } } If you then disable your free shipping order total module you should see all shipping rates and, if you install this module (if using 2.3 in the admin under shipping modules), once the free shipping threshold you set is reach it should then also display. Your customer can then choose to use UPS if they wish. Added xxample; I have the text in my includes/languages/english/modules/shipping/free.php changed to; define('MODULE_SHIPPING_FREE_TEXT_WAY', 'Ground shipping (3 to 10 days).'); I have found this dramatically reduces the number of free shipping orders by encouraging them to choose UPS and pay for the shipping to receive faster delivery. Will this work with the 48 states and free shipping over a certain amount? And also still work with the check mark for the box free shipping in the inventory? Edited August 20, 2013 by storeweb88 Quote
greasemonkey Posted August 20, 2013 Posted August 20, 2013 Will this work with the 48 states and free shipping over a certain amount? Yes, presuming you have a made tax zone in your admin (locations / taxes) called "48 states" - in your admin set the shipping zone for the module as you would for any other shipping module. And also still work with the check mark for the box free shipping in the inventory? Don't know... never used this mod... I use ZWFS... Test it and find out... Quote
storeweb88 Posted August 21, 2013 Author Posted August 21, 2013 (edited) Right now i took the other module and started building something. Right now its just selecting the incorrect radio buttons the one above it. I can get it to sort of work but I am missing something. Thats another time and thread though on what I am building.. I just have that little itbitty part to go and then I'm good. Edited August 21, 2013 by storeweb88 Quote
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.
Note: Your post will require moderator approval before it will be visible.