Hrm, assumption is that each website locale has exactly 1 warehouse. I guess that might be true a lot of the time, although seems like a big assumption to bake in?

hi all, quick question - has anyone thought of making the stock module, locale dependant so if a site uses transaltable or fluent the stock is only decreased from a warehouse assigned to that locale?

@LiamC in ss3 .yml:

  1. Email:
  2. admin_email: <|>

in ss4 .yml:

  1. SilverStripe\Control\Email\Email:
  2. admin_email: <|>

Where is that defined? @Kristian I want to change the email because it is not emailing the admin

@LiamC No. AFAIK it only sends to Config::inst:()->get('Email', 'admin_email')

Should silvershop email all administrators when an order is placed?

Yep, away from PC atm, so I'll do it a bit later.

submit a PR with the change if it makes it work and we can review!

well update is normally used to set an array of fields then write. E.g `update([‘Title’ => ‘Hi’); would set title to ‘Hi’ and write the object. Just a short syntax