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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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

How to create ordersteps in trunk-r802


Go to End


989 Views

Avatar
Webdoc

Community Member, 349 Posts

5 June 2011 at 3:33pm

Edited: 05/06/2011 3:34pm

ecommerce/code/model/Order.php Line 379 gives error:

370 //NOTE: anything to do with Current Member and Session should be in Shopping Cart!
371 public function init() {
372 //to do: check if shop is open....
373 $this->initModifiers();
374 if(!$this->StatusID) {
375 if($newStatus = DataObject::get_one("OrderStep")) {
376 $this->StatusID = $newStatus->ID;
377 }
378 else {
379 user_error("There are no OrderSteps ... please Run Dev/Build", E_USER_WARNING);
380 }
381 }
382 $this->extend('onInit');
383 $this->write();
384 return $this;
385 }

also how can i add the order status option under Process tab in shop config.
it don't let me make any and also the saving on shop config under admin is unpossible