You are here
Message of the day:
To discuss anything related to e-commerce using Silverstripe
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?
thank you 🙂
@LiamC in ss3 .yml:
Email: admin_email: <mailto:firstname.lastname@example.orgemail@example.com>
in ss4 .yml:
SilverStripe\Control\Email\Email: admin_email: <mailto:firstname.lastname@example.orgemail@example.com>
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