X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Easy way to show all products on store home page? (https://forum.x-cart.com/showthread.php?t=24405)

costrevs 08-27-2006 07:30 AM

Easy way to show all products on store home page?
 
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.

garry 08-27-2006 09:45 AM

Re: Easy way to show all products on store home page?
 
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.

costrevs 08-27-2006 11:50 AM

Re: Easy way to show all products on store home page?
 
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

hoosierglass 08-27-2006 12:51 PM

Re: Easy way to show all products on store home page?
 
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.

costrevs 08-29-2006 04:26 AM

Re: Easy way to show all products on store home page?
 
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.

costrevs 08-29-2006 01:04 PM

Re: Easy way to show all products on store home page?
 
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.

paulzie 05-21-2011 05:25 PM

Re: Easy way to show all products on store home page?
 
on home.php
after require './auth.php';

you can set a category for homepage

if (!isset($cat)) {
$cat = "250";
}

:lol:

sinobest 08-22-2011 06:37 PM

Re: Easy way to show all products on store home page?
 
Quote:

Originally Posted by paulzie
on home.php
after require './auth.php';

you can set a category for homepage

if (!isset($cat)) {
$cat = "250";
}

:lol:


how to show only 6 product at homepage?


All times are GMT -8. The time now is 10:09 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.