Hi,
I'm trying to edit the Show Brands Template file so that it displays only certain brands by using Variant ID's and not using the For Loop. Is there anyway I can view the current Variant ID's for the Brand names?
Is there a tool to use to show all the variant ID's for the brands i have setup?
Thanks.
[quote name='hobbies4life' timestamp='1421852308' post='203132']
Hi,
I'm trying to edit the Show Brands Template file so that it displays only certain brands by using Variant ID's and not using the For Loop. Is there anyway I can view the current Variant ID's for the Brand names?
Is there a tool to use to show all the variant ID's for the brands i have setup?
Thanks.
[/quote]
Please open app\controllers\frontend\product_features.php file and add
fn_print_r($view_all_filter);
after this line of code:
list( , $view_all_filter) = fn_get_filters_products_count($params);
Then go to the brands list
http://demo.cs-cart.com/index.php?dispatch=product_features.view_all&filter_id=10
and you will see array where you can find all variant IDs