In the /config/lang_xx.php the amount of products on site is set in the variable: $config['products_list'] = X; In the docu is written - you can create new templates and themes. So, how to solve it, if I want to create some themes, which are showing different amount of products on their sites? I tried to put the line ($config['products_list'] = Y;) into /themes/default_Y.php and assotiate this theme with new created site, but no effect.
You won't reach that effect using this. You can only make another function in file core/products.php basing on listProducts() and in file actions_client/p.php using if statement You can select some sites and for these sites use this other function which listing products.
Thanks Makaron, I'll shurely try it out, but a bit later. First I've to finish my Contact-Form and bind it and the order-form with captcha. And it takes time, because the synax of php makes me crazy (I played long time & only with Pascal). Don't worry, I'll report about this product-list solution independ on success.
I got it. Very easy but bound with handwork (you must input every site-number you want to have with another amuont of products) In the /core/products.php function: listProducts statement: if (!isset ($iList)){ $iList = $GLOBALS['config']['products_list']; }
I changed to: if( !isset( $iList ) ){ if( $iContent == 56 ){ //here the 56 is a site number. you can see it in addres line of internet browser, or in admin-panel:sites on the left side in the ID-column. $iList = 4; //amount of products on the site } else {$iList = $GLOBALS['config']['products_list']; } } Now, if you know which sites you want with another count of products, just modify or add the statements with: if ($iContent == page-number)