Jump to content

Shipping cost calculation with custom mysql table


Lakshmanan PHP

Recommended Posts

Hi All,

 

Presta version 1.6.0.8

 

 

Currently shipping cost for an order is (calculated from custom mysql table) added via getTotalShippingCost function in Cart.php (front - override class). 

 

But after placing order, In order details it is shown as extra amount and shipping fee is shown as zero.

 

warning shown in admin order details page:

Warning Rs. 400.00 paid instead of Rs. 300.00

 

How to update shipping cost globally for an order?

 

Thanks in advance

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...