Hi,
It depends on your discount.
You can have discount apply on a single product or discount applyed on categories (and sub categories too).
So the way to retrieve them is different depending the discount configuration.
We will need more details in order to answer you correctly.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.