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)
-   -   Home Page Feature Products (https://forum.x-cart.com/showthread.php?t=48798)

Alison 07-24-2009 05:02 PM

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.

carpeperdiem 07-24-2009 05:30 PM

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

Gus Gus 09-08-2009 03:39 AM

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.


All times are GMT -8. The time now is 03:30 PM.

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