Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

E-Commerce Modules /

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, Ed, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba

Silvershop : can't get SimpleShippingModifier to work [SOLVED]

Go to End

2 Posts   1356 Views


Community Member, 68 Posts

9 September 2016 at 4:35am

Hi, I'm using Silvershop and I have trouble configuring shipping correctly.
What I want to do is to set up two flat rates :
- one for customers in France
- one for customers from other countries.

config.yml :

    - 'SimpleShippingModifier'

SimpleShippingModifier.php :

private static $default_charge = 17;
private static $charges_by_country = array(
    'FR' => 6

But nothing happens during the checkout : the shipping always sticks to 17, which is my default charge, whatever country I set in the shipping adress.
When I debug the shopping cart (dev/shop), the "country" line in the "modifiers - has many" list is empty.

What step am I missing ?
Thanks a lot for helping me !


Community Member, 68 Posts

12 September 2016 at 10:31pm

Solved : I had to install the shipping module, which I thought was optional. Something must be missing in the core module documentation, or / and in the composer dependancies.