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.

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, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

How to create ordersteps in trunk-r802


Reply


795 Views

Avatar
Webdoc

Community Member, 332 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