Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with shipping method - BUG KIND OF ISSUE -


lifeisliberty

Recommended Posts

Posted

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

Posted

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)) {

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...