| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Easy way to show all products on store home page? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Trying to figure out how to show all of my products (I only have 6) on my store's home page.
Just starting out here in X-cart and it seems like it should be an easy thing to do but I can't figure it out. Any help is much appreciated.
__________________
X-Cart 4.1.3 || Suse Linux 9.2 || PHP 4.3.8 || MySQL 4.0.21 || Maine, US |
|||||||
#2
|
|||||||
|
|||||||
![]() Hi
Use the featured products menu, this will display the products on the front page. You will find the featured products on the same page as the main categories menu.
__________________
Garry http://www.natralife.co.uk X-Cart Gold version 4.5.4 PHP 5.3.18 MySQL client 5.0.96 |
|||||||
#3
|
|||||||
|
|||||||
![]() Thanks Garry,
I'm trying, though, to show all products, not just the featured products. I know I can set all of my products to be featured products, but I'd like the code to insert in the content template that will show all of my products, if that's possible. So if anyone has any suggestions for this, that would be much appreciated. -Russell
__________________
X-Cart 4.1.3 || Suse Linux 9.2 || PHP 4.3.8 || MySQL 4.0.21 || Maine, US |
|||||||
#4
|
|||||||||
|
|||||||||
![]() This may not be what you want, but you could html the products in the main page welcome text. Other than that you would need to edit the home page to where your products are shown between the welcome text and featured items.
|
|||||||||
#5
|
|||||||
|
|||||||
![]() i don't want to write straight HTML into the homepage template, because the product will change, and i want to keep it all dynamic.
i'm looking for a way to add some smarty code to show all my products on the home page. or even show one product. does anyone know the smarty snippet i can add into my home page template so i can show one product? thanks much. any help is appreciated.
__________________
X-Cart 4.1.3 || Suse Linux 9.2 || PHP 4.3.8 || MySQL 4.0.21 || Maine, US |
|||||||
#6
|
|||||||
|
|||||||
![]() i was thinking something like
{include file="customer/main/products.tpl" products=1 productid=3} would work but it does not. anyone have a suggestion here? thanks much for any help.
__________________
X-Cart 4.1.3 || Suse Linux 9.2 || PHP 4.3.8 || MySQL 4.0.21 || Maine, US |
|||||||
#7
|
|||||||
|
|||||||
![]() on home.php
after require './auth.php'; you can set a category for homepage if (!isset($cat)) { $cat = "250"; } ![]()
__________________
Current version: 4.4.2 Extra Fields |
|||||||
#8
|
|||||||
|
|||||||
![]() Quote:
how to show only 6 product at homepage?
__________________
X-Cart Version: 4.7.12 GOLD www.cheapglasses123.com prescription glasses online at discounted prices. prescriptionglassesusa.com www.loupesusa.com X-Cart Version: 4.7.11 GOLD PLUS |
|||||||
|
|||
X-Cart forums © 2001-2020
|