| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Featured products on home page | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi,
can anybody help me with the problem I've trying to solve for 2 weeks. I need to show featured products from 3 different categories on the front page. I know that if I use Code:
this will show featured products on the home page but not from specific category. But my task is to show featured products from specific category :/ Please help - I'm stuck on this for a very long time. Thx in advance!
__________________
4.4.4 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() You can mange featured products from XC backend under categories. When you scroll down to the bottom you will see "Featured products"
For more info... http://help.x-cart.com/index.php?title=X-Cart:Featured_Products
__________________
If you need professional help on your x-cart site or any website. Feel free to PM me or Skype me to discuss your project. |
|||||||||
#3
|
|||||||
|
|||||||
![]() Thx for reply but I don't think you understood my problem.
I know I can add (general )featured products on the home page. But I need featured products from specific categories. So if I go to the "Catalog->Categories", select desired category, scroll to the bottom of the page and add "Featured product" - how can I add this product to the home page (along with other featured products from other categories)? Or I can ask this question differently... How can I define featured products category in this import Code:
It is evident that Code:
imports featured products to the page (home, or any other) - but category ID of these featured products is "0" and I need it to be specific ID(s) So is it somehow possible to add some category property into this import? Something like Code:
or something similar? Thx in advance!
__________________
4.4.4 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Quote:
You don't go to specific category - stay at the root and add feature products from whichever category you want. They will show on front page only
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#5
|
|||||||
|
|||||||
![]() I know that, but what if want (and I want
![]() So I need (for example) 3 imports like this: Code:
In case I add products in category id == "0" (featured products with no category) I'll get 3 exact the same results. And I don't want that :/ Thx!
__________________
4.4.4 |
|||||||
#6
|
|||||||||
|
|||||||||
![]() Yup Steve is right
refer to this page http://help.x-cart.com/index.php?title=X-Cart:Featured_Products#Adding_Featured_Products
__________________
If you need professional help on your x-cart site or any website. Feel free to PM me or Skype me to discuss your project. |
|||||||||
#7
|
|||||||
|
|||||||
![]() Sorry for the confusion.
What I need is to have three separate instances of the { include file="customer/main/products.tpl" products=$f_products featured="Y" } On our home page, each instance will list the featured products from a different category. The question is: 1. How can I declare which category the featured products are pulled from? 2. How can I have 3 separate instance of the featured products, pull from different categories. Thx!
__________________
4.4.4 |
|||||||
#8
|
|||||||||
|
|||||||||
![]() You can add all products you want and set pos field then use an if/else statement for which products to show on which instance based on pos field numbers
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#9
|
|||||||
|
|||||||
![]() I guess the Q i have is what would be the "if/else statement for which products to show on which instance " can you provide an example?
Thx so much. Help is appreciated. Quote:
__________________
4.4.4 |
|||||||
#10
|
|||||||||
|
|||||||||
![]() You can't do this in templates alone. $f_products is only for the current category or home page. You would have to get into the php to do some queries to get the featured products defined in those categories.
|
|||||||||
|
|||
X-Cart forums © 2001-2020
|