| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Show Feature Product with other products | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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
__________________
X-Cart Gold 4.1.9 Gift Registry/Special Offers Advanced mini-cart XC-SEO Mulltiple Category/Product Templates Also bought/recently viewed Feedback reviewer/viewer bundle Marketing Manager Pro bundle many more mods |
|||||||
#2
|
|||||||||
|
|||||||||
![]() 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? |
|||||||||
#3
|
|||||||
|
|||||||
![]() 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.
__________________
X-Cart Gold 4.1.9 Gift Registry/Special Offers Advanced mini-cart XC-SEO Mulltiple Category/Product Templates Also bought/recently viewed Feedback reviewer/viewer bundle Marketing Manager Pro bundle many more mods |
|||||||
#4
|
|||||||||
|
|||||||||
![]() 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...? |
|||||||||
#5
|
|||||||
|
|||||||
![]() Thanks Yurij,
As it turns out I paid someone to get this working for us. Thanks for your replies! Tony
__________________
X-Cart Gold 4.1.9 Gift Registry/Special Offers Advanced mini-cart XC-SEO Mulltiple Category/Product Templates Also bought/recently viewed Feedback reviewer/viewer bundle Marketing Manager Pro bundle many more mods |
|||||||
#6
|
|||||||||
|
|||||||||
![]() 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
__________________
_____________________________________________ www.webcreatives.nl | X-Cart Shops X-Cart Versions 4.1.x | 4.2.x | 4.3.x | 4.4.x Parallelweg 124-14, 1948 NN BEVERWIJK The Netherlands |
|||||||||
|
|||
X-Cart forums © 2001-2020
|