1999 Posts in 530 Topics by 433 members
E-Commerce Modules
SilverStripe Forums » E-Commerce Modules » Why Does ChildGroups return null?
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: | 412 Views |
-
Why Does ChildGroups return null?

23 April 2010 at 7:47pm
Good Morning
I've a grandparent group with childs product groups.
Butfunction ChildGroups() {
//$p = $this->ID();
$filter = "ShowInMenus = 1 AND ParentID = " . $this->ID;
return DataObject::get("ProductGroup", $filter);
}return NULL. Why?
| 412 Views | ||
|
Page:
1
|
Go to Top |
