Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Easy way to show all products on store home page?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-27-2006, 07:30 AM
 
costrevs costrevs is offline
 

Member
  
Join Date: Aug 2006
Posts: 17
 

Default 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.
__________________
X-Cart 4.1.3 || Suse Linux 9.2 || PHP 4.3.8 || MySQL 4.0.21 || Maine, US
Reply With Quote
  #2  
Old 08-27-2006, 09:45 AM
 
garry garry is offline
 

Senior Member
  
Join Date: Oct 2003
Location: Wolverhampton UK
Posts: 102
 

Default 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.
__________________
Garry


http://www.natralife.co.uk


X-Cart Gold version 4.5.4
PHP 5.3.18
MySQL client 5.0.96
Reply With Quote
  #3  
Old 08-27-2006, 11:50 AM
 
costrevs costrevs is offline
 

Member
  
Join Date: Aug 2006
Posts: 17
 

Default 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
__________________
X-Cart 4.1.3 || Suse Linux 9.2 || PHP 4.3.8 || MySQL 4.0.21 || Maine, US
Reply With Quote
  #4  
Old 08-27-2006, 12:51 PM
  hoosierglass's Avatar 
hoosierglass hoosierglass is offline
 

X-Adept
  
Join Date: Aug 2006
Location: Zionsville, IN
Posts: 974
 

Default 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.
__________________
X-Cart Gold 4.7.7
Custom Work from www.luminointernet.com
www.indy-pen-dance.com
Reply With Quote
  #5  
Old 08-29-2006, 04:26 AM
 
costrevs costrevs is offline
 

Member
  
Join Date: Aug 2006
Posts: 17
 

Default 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.
__________________
X-Cart 4.1.3 || Suse Linux 9.2 || PHP 4.3.8 || MySQL 4.0.21 || Maine, US
Reply With Quote
  #6  
Old 08-29-2006, 01:04 PM
 
costrevs costrevs is offline
 

Member
  
Join Date: Aug 2006
Posts: 17
 

Default 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.
__________________
X-Cart 4.1.3 || Suse Linux 9.2 || PHP 4.3.8 || MySQL 4.0.21 || Maine, US
Reply With Quote
  #7  
Old 05-21-2011, 05:25 PM
 
paulzie paulzie is offline
 

Newbie
  
Join Date: Mar 2011
Posts: 1
 

Default 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";
}

__________________
Current version: 4.4.2
Extra Fields
Reply With Quote
  #8  
Old 08-22-2011, 06:37 PM
 
sinobest sinobest is offline
 

X-Adept
  
Join Date: Nov 2009
Posts: 462
 

Default 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";
}


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
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:48 AM.

   

 
X-Cart forums © 2001-2020