Jump to content

module to change shipping to percent


Y Talansky

Recommended Posts

Can anyone help me make a module to change the shipping to a percent of cart total instead of a fixed amount?
 
You can see attached file. My main question is what should I put inside these functions to get the cart total and multiply by amount entered in carrier backend?

function getOrderShippingCost($params, $shipping_cost) {
 
    }
 
function getOrderShippingCostExternal($params) {
        
    }

Thanks in advance

shippercent.zip

Link to comment
Share on other sites

  • 5 months later...
  • 3 weeks later...

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...