Forums / Templates, Stylesheets, Page Layout / Problem Displaying Customer Greeting and Category on Main Page

Problem Displaying Customer Greeting and Category on Main Page

Locked

Views: 3,998

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
19 Nov 2006, 5:36 AM
#1
zerocool avatar

zerocool

New Zenner

Join Date:
Nov 2006
Posts:
15
Plugin Contributions:
0

Problem Displaying Customer Greeting and Category on Main Page

I am unable to display BOTH the customer greeting and the CATEGORY on the index page.
When I use the following setting - I ONLY see the CATEGORY with all the products and NO Greeting Message.
Customer Greeting - Show on Index Page - 1
Categories - Always Show on Main Page - 1
Main Page - Opens with Category -4 or any other categoryID

I can display the Greeting Message with the following settings:
Customer Greeting - Show on Index Page - 1
Categories - Always Show on Main Page -0
Main Page - Opens with Category -4 or any other categoryID

I want to Display Both on the Home Page - Greeting Message First and then the Category with Product listing.

thanks in advance....

**ZC

Zencart Version 1.3.6**

20 Nov 2006, 4:13 AM
#2
zerocool avatar

zerocool

New Zenner

Join Date:
Nov 2006
Posts:
15
Plugin Contributions:
0

Re: Problem Displaying Customer Greeting and Category on Main Page

Figured out..here is the code
To display both Greeting and Product list on Main page – Modify tpl_index_product_list.php -

<?php if ($this_is_home_page == 1) { if (SHOW_CUSTOMER_GREETING == 1) { ?> <h1 id="indexDefaultHeading"><?php echo 'Welcome to my store'; ?></h1>

<h2 class="greeting"><?php echo zen_customer_greeting(); ?></h2>
<?php }} ?>

**ZC

Zencart Version 1.3.6**

17 Nov 2008, 2:36 PM
#3
phoenixbg avatar

phoenixbg

New Zenner

Join Date:
Oct 2008
Posts:
1
Plugin Contributions:
0

Re: Problem Displaying Customer Greeting and Category on Main Page

I'm with Zen Cart 1.3.8 but I can't find where to change tpl_index_product_list.php. :(
BTW I have same problem
10x a lot

P.S. sorry for my low level english :blush: