i want to display products of one only particular category at member's area of amember.
i want to add code from site.php file.
can any one know how can i display products in block in member's area?
how can i handle query related operation from site.php in amember?
i have added block by using following code.now i want to display products in this block.
Am_Di::getInstance()->blocks->add(new Am_Block('member/main/right', 'blockname', 'block_id', null, function (Am_View $v) {
$html = <<<CUT
<p>
want to display products here
</p>
CUT;
return $html;
});