anyone has experience with silvershop/SS4 and fluent?
should I do the whole calculation inside fluent state? Maybe it returns an object, but doesn't lazy load the stuff when I leave the state?
i already wrap it in FluentState and set locale to '' to get something back. It's OrderItem->Buyable() in silvershop, which grabs the page in a specific version
nope. $this->owner, as I'm in an extension. Funnily, the de_DE version loads, the en_US version doesn't load additional stuff (which is untranslated)
well, in PHP I cannot access a $db value
how can I tell a DO to load all lazy fields?
See interface "CMSPreviewable", which is implemented by SiteTree
There is also something like "PreviewLink" available. Mabe it's possible to disable the preview pane for this page or pagetype?