# Shipping cost

**URL:** https://forum.shopware.com/t/shipping-cost/59480
**Category:** Programmierung
**Created:** [10. Mai 2019 um 07:51 UTC](https://forum.shopware.com/t/shipping-cost/59480 "2019-05-10T07:51:18Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![BrianNeyens](https://avatars.discourse-cdn.com/v4/letter/b/fbc32d/32.png) [@BrianNeyens](https://forum.shopware.com/u/BrianNeyens)
#### Post date: [10. Mai 2019 um 07:51 UTC](https://forum.shopware.com/t/shipping-cost/59480/1 "2019-05-10T07:51:18Z")

</div>

Hi there ,

I just wanted to know if it’s possible to define a shipping cost in code rather than in {url}/backend.

And if it’s possible how should it be approached , i want to do this during the installation of a plugin.

Thanks in advance

Brian

---

<div class="post-metadata">

### Author: ![shyim](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/shyim/32/7681_2.png) [@shyim](https://forum.shopware.com/u/shyim)
#### Post date: [12. Mai 2019 um 12:34 UTC](https://forum.shopware.com/t/shipping-cost/59480/2 "2019-05-12T12:34:09Z")

</div>

Are you trying to build a fixture for shipping costs?

Otherwise you could replace the method to calculate the shippping cost and do you own thing. The method should be located in the sAdmin class, all protected / public methods are hookable there.
