Create Product Discount Filling Block

hi ,

how create block : product discount filling?

i do not understand why this is possible, since the program is not included!

however, dear programmers, if anyone has a trick or enabling, shared until all are used…



i did it this way

open schema/block_menager/block.php and insert this code:

'discount_products' => array (
'discounts_from' => 1,
'sort_by' => 'discounts',
'sort_order' => 'desc',
'request' => array (
'cid' => '%CATEGORY_ID'

and open schema/block_menager/filling.php insert this code:

'discount_products' => array (
'limit' => array (
'type' => 'input',
'default_value' => 3

the trick works. but I want to show only products that are discounted!

if the discount is not enabled, the block is not displayed.