16.07.2012 18:19
|
|
cooperation
Name: Mcp
28.06.2012
Posts: 19
|
Menu type: Products / Random
Hello,
Please can anyone explain me the functionality of the menu type for "Products / Random".
If it only desplays all products out of your shop or a category, in a random order, that it does not make a lot of sense.
Is there any way to limit the amount of products displayed?
Thanks in advance
|
|
16.07.2012 20:48
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25853
|
Aw: Menu type: Products / Random
amount - see configuration shop
|
|
17.07.2012 15:07
|
|
cooperation
Name: Mcp
28.06.2012
Posts: 19
|
Aw: Menu type: Products / Random
The amounts are configured for the full website and it makes a lot of sense to have abotu 12 products on a category page.
But the same value for a random product page does not make a lot of sense.
Wouldn't it be possible to add a configurable option in the menu where you can choose the amount of displayed items if random is choosen?
Thanks!
|
|
17.07.2012 16:36
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25853
|
Aw: Menu type: Products / Random
Change file
components\com_jshopping\controllers\products.php
row
$rows = $product->getRandProducts($jshopConfig->count_products_to_page);
change to (example 5)
$rows = $product->getRandProducts(5);
|
|
20.07.2012 02:21
|
|
cooperation
Name: Mcp
28.06.2012
Posts: 19
|
Aw: Menu type: Products / Random
Thank you very much!
|
|