Hello,
please how can I show random products only of one category?
Thank you very much
19.02.2013 12:15
|
|
cooperation
Name: Mcp
28.06.2012
Posts: 19
|
|
19.02.2013 14:42
|
|
admin
(Support Team) Name: Admin
05.08.2010
Posts: 25919
|
Aw: Random out of a specifc category?
http://www.webdesigner-profi.de/joomla-webdesign/shop/modules/module-random-product.html |
19.02.2013 15:17
|
|
cooperation
Name: Mcp
28.06.2012
Posts: 19
|
Aw: Random out of a specifc category?
Hello, Thank you, but I was not refering to a module. I was refering to the menu point to show the random products page. Below there are options to put in the category id, but on the random product the category id is ignored. Is there a way to make this happen? Thank you |
19.02.2013 16:26
|
|
admin
(Support Team) Name: Admin
05.08.2010
Posts: 25919
|
Aw: Random out of a specifc category?
No. or change components\com_jshopping\controllers\products.php function random ... $rows = $product->getRandProducts($jshopConfig->count_products_to_page_random, null, $filters); change to $rows = $product->getRandProducts($jshopConfig->count_products_to_page_random, array(1,2), $filters); array(1,2) - list id category |
19.02.2013 16:55
|
|
cooperation
Name: Mcp
28.06.2012
Posts: 19
|
Aw: Random out of a specifc category?
Thank you for your fast reply. I tried to combine now to have 4 random products out of one specific category. Than it should look like this: $rows = $product->getRandProducts(4, array(1,2), $filters); And the category id shall be defined in the Backend where you define the Menu introducing the ID of the category in the category id field? Or should the array(1,2) be modified to show for example category id=7 --> array(1,7)? |
19.02.2013 20:23
|
|
admin
(Support Team) Name: Admin
05.08.2010
Posts: 25919
|
|
21.02.2013 16:50
|
|
cooperation
Name: Mcp
28.06.2012
Posts: 19
|
|