# Shipping Provider Calculation

**URL:** <https://forum.modmore.com/t/shipping-provider-calculation/752>\
**Category:** SimpleCart\
**Created:** [April 20, 2017, 7:49pm UTC](https://forum.modmore.com/t/shipping-provider-calculation/752 "2017-04-20T19:49:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![smg6511](https://forum.modmore.com/letter_avatar_proxy/v4/letter/s/90ced4/32.png) [@smg6511](https://forum.modmore.com/u/smg6511)\
**Post date:** [April 20, 2017, 7:49pm UTC](https://forum.modmore.com/t/shipping-provider-calculation/752/1 "2017-04-20T19:49:43Z")

</div>

It looks like the cart is built to be extended on the payment processing side of things … is there a way to build shipping calculation modules (e.g., for UPS, USPS, FedEx, etc.) in the same manner?

---

<div class="post-metadata">

**Author:** ![mhamstra](https://forum.modmore.com/user_avatar/forum.modmore.com/mhamstra/32/459_2.png) [@mhamstra](https://forum.modmore.com/u/mhamstra)\
**Post date:** [April 24, 2017, 6:36pm UTC](https://forum.modmore.com/t/shipping-provider-calculation/752/2 "2017-04-24T18:36:55Z")

</div>

Not really. There’s no clean way to provide a dynamic shipping price in SimpleCart currently. It’s possible to have a workaround where you use xPDO to create new shipping methods with the right price and apply that to the order, but that’s not great.

Commerce makes it a bit easier, with [custom shipping methods](https://docs.modmore.com/en/Commerce/v1/Developer/Custom_Shipping_Methods.html) baked in.

---

<div class="post-metadata">

**Author:** ![smg6511](https://forum.modmore.com/letter_avatar_proxy/v4/letter/s/90ced4/32.png) [@smg6511](https://forum.modmore.com/u/smg6511)\
**Post date:** [April 25, 2017, 2:32am UTC](https://forum.modmore.com/t/shipping-provider-calculation/752/3 "2017-04-25T02:32:11Z")

</div>

Ok, thanks for your response. My challenge is that I’m in search of a native modx cart for a job in the very near future. Commerce looks promising but it appears that a production version won’t be available for quite a while.

---

<div class="post-metadata">

**Author:** ![matdave](https://forum.modmore.com/user_avatar/forum.modmore.com/matdave/32/862_2.png) [@matdave](https://forum.modmore.com/u/matdave)\
**Post date:** [July 18, 2017, 7:52pm UTC](https://forum.modmore.com/t/shipping-provider-calculation/752/4 "2017-07-18T19:52:02Z")

</div>

For future people looking at a SimpleCart way to do this. It is possible, but only if you have a custom payment processor to add “preHooks” to that adjust the custom delivery price before charging the order. You could also dynamically add/select shipping options to the methods database using hooks in your checkout form.
