1999 Posts in 530 Topics by 433 members
E-Commerce Modules
SilverStripe Forums » E-Commerce Modules » How to create ordersteps in trunk-r802
Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.
Moderators: martimiz, Nicolaas, Howard, Sean, Ryan M., biapar, Willr, Ingo, Jedateach, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 641 Views |
-
How to create ordersteps in trunk-r802

5 June 2011 at 3:33pm Last edited: 5 June 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
| 641 Views | ||
|
Page:
1
|
Go to Top |

