-
Notifications
You must be signed in to change notification settings - Fork 115
custom renderers #1
Comments
Hi Tije, Thanks ! Thanks, 2012/7/13 tijevlam <
|
Hey Benoit! Thanks for getting back on this. I actually solved it for now, allthough i dont know if it is the best (cleanest) solution. $collection = Mage::getResourceModel($this->_getCollectionClass())
->join(
'sales/order_item',
'`sales/order_item`.order_id=`main_table`.entity_id',
array(
'skus' => new Zend_Db_Expr('group_concat(`sales/order_item`.sku SEPARATOR ",")'),
//'configuratie' => new Zend_Db_Expr('group_concat(`sales/order_item`.name SEPARATOR ",")'),
'leather' => new Zend_Db_Expr('group_concat(IF( `sales/order_item`.product_id > "136" && `sales/order_item`.product_id < "223" ,`sales/order_item`.name, "") SEPARATOR " ")'),
'frame' => new Zend_Db_Expr('group_concat(IF( `sales/order_item`.product_id > "35" && `sales/order_item`.product_id < "42" ,`sales/order_item`.name, "") SEPARATOR " ")'),
'buttons' => new Zend_Db_Expr('group_concat(IF( `sales/order_item`.product_id > "117" && `sales/order_item`.product_id < "123" ,`sales/order_item`.name, "") SEPARATOR " ")'),
'keypad' => new Zend_Db_Expr('group_concat(IF( `sales/order_item`.product_id > "97" && `sales/order_item`.product_id < "116" ,`sales/order_item`.name, "") SEPARATOR " ")'),
)
);
$collection->getSelect()->group('entity_id'); |
Did you change anything regarding the renderer of your new column, to make it work, and then find what could be a compatibility problem brought by the new version ? Thanks, |
In the end, the problem had nothing to do with your great extension. It So your extension still works perfect. i did have another comment, would Thanks, Tije
|
Thanks for the quick answer, and nice to hear that you could solve your problem (and that it was not due to a compatibility problem with the extension) ! I'll close the issue, but don't hesitate if you find other possible problems. Concerning the inventory fields, they will soon be available as custom columns for the products grid, but not yet editable. The editability for the custom columns was (is) on my roadmap, but as it would require some refactoring on the two corresponding systems, it may take a while before I find enough time to work on it. Or at least, I'll have to choose between focusing on one big feature, that could open a new range of possibilities, or releasing new custom columns on a more regular basis. By the way, let me know if you have a preference :) Best regards, |
Hello guys,
I love the new version of custom grids. I works great, but i found a problem.
Since i use it, im unable to assign a custom renderer for my own added column in the order grid.
Ive added an skus and names column, to display all items of my bundle and configurable orders.
But with custom grids i'm not getting my own custom renderer to display.
What to do?
best regards,
Tije
The text was updated successfully, but these errors were encountered: