How does the Mega Products static block determine which products are selected? The default code looks like this:
<div class=”mega-jmproducts”>
{{block type=”joomlart_jmproducts/list” name=”mega.jmproducts.list” template=”joomlart/jmproducts/oneproduct.phtml” quanlity=”2″}}
</div>
It seems to be randomly choosing what product to include. I tried to add the [catsid] parameter to make it pick from a category, but without any luck:
<div class=”mega-jmproducts”>
{{block type=”joomlart_jmproducts/list” name=”mega.jmproducts.list” template=”joomlart/jmproducts/oneproduct.phtml” quanlity=”2″ catsid=”101″}}
</div>
Thanks!
3 answers
Hi shorelineoftahoe,
I need to check current code of your site, let’s provide me the admin and FTP credentials of your site.
I will check further and help you get out.
Regards,
Mall.
Hi shorelineoftahoe,
To filter with Categories IDs or Product IDs you can use the shortcode as following:
1 -- Filter with Category Id:
{{block type="joomlart_jmproducts/list" name="mega.jmproducts.list" template="joomlart/jmproducts/oneproduct.phtml" qty="2" category_ids="99"}}
2 -- Filter with multiple categories Ids:
{{block type="joomlart_jmproducts/list" name="mega.jmproducts.list" template="joomlart/jmproducts/oneproduct.phtml" qty="2" category_ids="41,99"}}
3 -- Filter with multiple product Ids:
{{block type="joomlart_jmproducts/list" name="mega.jmproducts.list" template="joomlart/jmproducts/oneproduct.phtml" qty="2" productsid="14290,14291"}}
Please have a look and contact me if you need further assistance!
Regards,
Mall.