Collines Posted October 15, 2010 Posted October 15, 2010 Hi I am having a problem with free shipping on a number of my sites. When I offer free shipping at an amount say $40. If a customer has an order for less than $40, say $36 then progresses through the checkout procedure and during the checkout procedure returns to the checkout_shipping page this customer suddenly gets free shipping even though their order is less than $40. Has anyone found a work around to this solution? OR........ One solution I did make was to install the module freeshipper. This seems to resolve the problem but on the page checkout_shipping, it displays the regular shipping amount as well as the free shipping amount. (1)Is there a way to make this module only display the free shipping option if the order is less than the free shipping amount ($40 in this case)? (2) Using this module, is there a way make an order total line like 'Shipping: 0.00' or 'shipping: FREE' in the order total block so that the customer can see on their invoice that the shipping is free? Many Thanks in advance.
tigergirl Posted October 15, 2010 Posted October 15, 2010 It's a bug...when you go back after gettin to checkout_shipping it calculates the total inc delivery, this will fix it. for the ot_shipping module for free shipping over £xx in catalog/checkout_shipping.php, approx. line 85 Find: if ( ($pass == true) && ($order->info['total'] >= MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER) ) { $free_shipping = true; Change to: if ( ($pass == true) && ($cart->show_total() >= MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER) ) { $free_shipping = true; I had to do similar changes to some of my shipping modules as well so you'll have to check them too. I'm feeling lucky today......maybe someone will answer my post! I do try and answer a simple post when I can just to give something back. ------------------------------------------------ PM me? - I'm not for hire
Collines Posted October 16, 2010 Author Posted October 16, 2010 Ahhhh thank you. I am surprised that this bug has not been sorted out years ago. Some of my sites were running the latest Github version of osCommerce and this was happening.
tigergirl Posted October 16, 2010 Posted October 16, 2010 I am surprised that this bug has not been sorted out years ago. Yes, I know. Old bugs, new bugs, never ending cycle me thinks. I'm just pleased I knew the answer for a change instead of just begging for help! Maybe the bug has never been reported? I never reported as the reporting system always seemed like a labyrynth. I'm feeling lucky today......maybe someone will answer my post! I do try and answer a simple post when I can just to give something back. ------------------------------------------------ PM me? - I'm not for hire
tigergirl Posted October 16, 2010 Posted October 16, 2010 I reported it! I'm feeling lucky today......maybe someone will answer my post! I do try and answer a simple post when I can just to give something back. ------------------------------------------------ PM me? - I'm not for hire
Recommended Posts
Archived
This topic is now archived and is closed to further replies.