lifeisliberty Posted December 14, 2013 Posted December 14, 2013 Hello, I have made a website : www [dot] helloviagra [dot] com I have added 2 shipping methods and 1 free shipping option using order total for orders above value 200$ STEPS TO GENERATE ERROR 1. Register yourself on the website. 2. Add a product to cart : helloviagra dot com/product_info.php?products_id=262 3. Select a shipping method on delivery information page : $15 AND click continue 4. Now you are on payment information page. CLICK CONTINUE 5. Now you are on confirmation page which says $213 Its like subtotal : 198 and Total : 213$ 6. Now using the slider which shows you are on confirmation page click directly on delivery information The shipping method changes to free shipping .. but order value is 198$ how come so ? Please help resolve this issue. best regards
multimixer Posted December 15, 2013 Posted December 15, 2013 This is because the shipping cost is not deducted from the total value of the order, the file assumes that there was no shipping selection made yet The line that does this is in file checkout_shippig.php if ( ($pass == true) && ($order->info['total'] >= MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER) ) { You can change that line to following if (($pass == true) && (($order->info['total'] - $order->info['shipping_cost']) >= MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER)) { My community profile | Template system for osCommerce - New: Responsive | Feedback channel
lifeisliberty Posted December 15, 2013 Author Posted December 15, 2013 Thanks a ton... multimixer, It worked perfectly. Best Regards
Recommended Posts
Archived
This topic is now archived and is closed to further replies.