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

Home Page Feature Products

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-24-2009, 05:02 PM
 
Alison Alison is offline
 

Advanced Member
  
Join Date: Mar 2009
Posts: 93
 

Default Home Page Feature Products

I'd like my home page to show some product images rather than just text. Can someone point me in the right direction?

I did search the forums and I did check the manual and the FAQ. Perhaps I'm looking in the wrong sections. I'm just finding X-Cart to be one of the most non-intuitive programs I've ever worked with.

Thanks for any help.
__________________
4.2
None

___________

10 Years of Advertising for $100
Reply With Quote
  #2  
Old 07-24-2009, 05:30 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Home Page Feature Products

EDIT: OOPS -- saw you were in 4.2 -- some of this advice will not be applicable, but the ideas are the same
========

Alison,

The template, /skin1/customer/main/welcome.tpl contains a language variable, {$lng.txt_welcome} -- You have a few choices:

1. put your html into the $lng.txt_welcome language var

2. REPLACE {$lng.txt_welcome} with your html code

3. Make a new template file and call it homepage.tpl - then call it from welcome.tpl instead of {$lng.txt_welcome} -- like this:
Code:
{* {$lng.txt_welcome} *} {include file="customer/main/homepage.tpl"}

4. Forget about welcome/tpl altogether, and just make a new homepage.tpl, and call it from /skin1/customer/home_main.tpl -- instead of welcome.tpl

Code:
{elseif $main eq "catalog" and $current_category.category eq ""} {include file="customer/main/homepage.tpl"} {* {include file="customer/main/welcome.tpl" f_products=$f_products} *}

(however doing this my way will kill off the featured products. but you can make your own version of featured products.)

Good luck!

Jeremy
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #3  
Old 09-08-2009, 03:39 AM
 
Gus Gus Gus Gus is offline
 

Newbie
  
Join Date: Aug 2009
Posts: 7
 

Default Re: Home Page Feature Products

carpeperdiem, great instructions, and thank you for mentioning that they're for were for an old version of X-Cart.

In X-Cart 4.2, we can add products to featured products lists, located in the "Categories" section of the admin.

I spent a lot of time researching shopping cart software, and I couldn't be more pleased with X-Cart!

I have also learned a ton of valuable stuff, searching the forums.
__________________
X-Cart 4.2.2
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 07:11 AM.

   

 
X-Cart forums © 2001-2020