News:

Looking for documentation? Take a look on our wiki

Main Menu

view of category when only one product

Started by patrik60, January 10, 2009, 22:37:06 PM

Previous topic - Next topic

patrik60

Hello

In rev 1489 there was made a change in shop.browse.php on line 82

elseif( $num_rows == 1 ) {

was changed into

elseif( $num_rows == 1 && ( !empty($keyword) || !empty($keyword1) ) ) {

After this change it is no more possible to go directly to the flypage if a category has only one product.

The problem was, that subcategories were not shown, when a category had only one product.

May be there should be somewhere in the backend an option to choose whether to go directly to the flypage or to the category. This option should be possible, when a category has only one product.

patrik


patrik60

sorry, I think you did misunderstand me.It was changed in rev 1489. But now it is no more possible to go directly to the flypage if a category has only one product. See also this thread.

aravot

Quote from: patbe60 on January 10, 2009, 22:37:06 PM
The problem was, that subcategories were not shown, when a category had only one product.

It was changed due to mentioned reason, the ideal solution would be to have a configuration option however don't hold your hopes high unless someone codes and donates the code.