![]() |
Show Feature Product with other products
I understand that featured products only show on subcategories when there are no regular products in that category. I've searched through the NG and can't find a way around this.
I'd like to show one featured item to the left of the products list - I guess that would be on subcategories.tpl. I have it working fine when there are no regular products assigned to the category, but not with products. Is this possible? Thanks, Tony |
Re: Show Feature Product with other products
Quote:
I think this is possible. You need to be showing just one Featured Products (of course if it exists) for each category and subcategory in the left menu? |
Re: Show Feature Product with other products
1 Attachment(s)
It's really in the left quadrant of the subcategories template. I didn't think about using the left menu. Since I'm not using the vertical menus, maybe it's possible to resize a left menu and show the product there.
I've attached an image to illustrate what I need. |
Re: Show Feature Product with other products
Quote:
Standings help you to solve this problem next week, unfortunately this week there is no free time to do it. Several questions: - If for this category are not specified "Featured products", this column will not show or will empty or ... ? - If chosen sorting or next page for a list of products for current categorie, this column ( "Featured products") will still show or emty or...? |
Re: Show Feature Product with other products
Thanks Yurij,
As it turns out I paid someone to get this working for us. Thanks for your replies! Tony |
Re: Show Feature Product with other products
This is what i did to show the featured products also when the catefory has products assigned to it. (did this on xcart 4.1.10)
In home.php comment out if (empty($products)) In featured_products.php I added $searchtype="featured"; just before include $xcart_dir."/include/search.php"; and commented out $smarty->clear_assign("products"); In include/search.php I replaced $smarty->assign("products", $products); with if (!$searchtype=="featured") { $smarty->assign("products", $products); } In products.php I added $products = array(); unset($search_data, $products); Just before ?> at the bottom of the page |
All times are GMT -8. The time now is 04:13 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.