Mega Products

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

Profile photo of Mall Staff 184060.00 $tone May 12, 2016
Public

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.

#1
Profile photo of Mall Staff 184060.00 $tone May 13, 2016
Public

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.

#3

Please login or Register to Submit Answer

Written By

Comments