Hello,
Thanks for the support and the first option worked for me. When i have used the code <?php
$js = '';
$params = '';
JRequest::setVar('cid',$category_id);
echo hikashop_getLayout('product','listing',$js,$params);
?>
the product listing was showing products under categories even if the products are not belongs to that category. Also categories without products also where showing products below them though i have passed the correct cid.
So i have changed the code as below.
<?php
$js = '';
$params = '';
JRequest::setVar('cid',$category_id);
echo hikashop_getLayout('category','listing',$js,$params);
?>
And now the products are displaying properly but without add to cart link as the products are displaying from category view.
Please check the URL below.
demo.aappakadai.com/index.php?option=com...t=listing&Itemid=101
So kindly let me if i can add add to cart button in product listing in category view and if yes how?.
Regards,
Binoy