Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2010
    Location
    Oregon
    Posts
    19
    Plugin Contributions
    0

    Default Want to list all products on index page

    Hi, I'm new to ZenCart, have experience in cpanel, phpBB, php, CSS, AJAX, etc. Brand new install (v 1.3.9d), everything works, you guys rock on the support docs. Thank you.

    I have a nice html/CSS site put together and just need ZenCart in a simple form to start out. I will take advantage of many of the fabulous features, but in the meantime . . .

    I only have about 8 products to start with, and I want the index page to show them all. The only facility I see to list products is to enable display of New, Featured, Special or Upcoming Products. My products are none of these, they are the 'standard' products, which I would create under Products/Categories. Right?

    All my products will be 'Product - General' (from the dropdown box when adding a new product).

    So how do I turn on display of all my products on the index page? I tried to find an attribute to set, or a configuration option. Searched the FAQs. To no avail. So I need to post this question. :-)

    tia

  2. #2
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Want to list all products on index page

    Admin > Configuration > Layout Settings

    Click on 'Main Page - Opens with Category' and make your changes accordingly.

  3. #3
    Join Date
    Jun 2010
    Location
    Oregon
    Posts
    19
    Plugin Contributions
    0

    Default Re: Want to list all products on index page

    Quote Originally Posted by frank18 View Post
    Admin > Configuration > Layout Settings

    Click on 'Main Page - Opens with Category' and make your changes accordingly.
    Thanks, Frank. I believe the correct expression is "good on ya mate!"

    But that does not quite do what I expected - by turning on the main page categories, somehow the greeting and the content provided in define_main_page goes away. I wanted that content to stay there and then list the products in the two categories.

    I'm checking out the php and don't see how that happens.

    On index.php I see the code:

    if ( ($category_depth == 'products') || (zen_check_url_get_terms()) ) {
    // This section deals with product-listing page contents
    (etc)

    but I don't see what is going on. Does Store_status have something to do with it?

    Plus it looks like I can only list one category for the main page - what is the syntax for listing multiple category IDs?

    tia

  4. #4
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Want to list all products on index page

    Instead of trying to re-code things ... how about just making all of your products members of the Featured products and show them in the Featured Products box?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  5. #5
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Want to list all products on index page

    Seeing you only have 8 products for now, you could make them all 'Featured Products'.

    Next you open your includes/languages/your_template/english.php file and look for the define 'Featured Products'. Change that to an empty string only leaving the 2 single quotes.

    Then you could set Featured Products to be displayed on the main page - in your case without the heading 'Featured Products' because you blanked that out in the second step above.

    This would leave all other bits and pieces intact on your main page.

    Not an elegant solution but your visitors would not notice that.

    PS: I see Kim has beaten me to that idea

  6. #6
    Join Date
    Jun 2010
    Location
    Oregon
    Posts
    19
    Plugin Contributions
    0

    Default Re: Want to list all products on index page

    Thanks folks. What a great community you've got here.

    Looks like the answer to my query is "that's the way it is", and that's totally cool.

    I'm adaptable, I will have them choose between the two categories, which is one extra click, but worth it because when they hit that landing page I can tell them what they need to know to navigate between my html site and the secure cart.

    IOW never mind, I can make it work just fine no worries.

    Thanks again, keep up the good work, much appreciated, maybe after I get rich I can help out here.

 

 

Similar Threads

  1. Replies: 5
    Last Post: 7 Dec 2009, 07:40 PM
  2. Feature Products - List in 2 Columns on Index Page
    By interactivewest in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 5 Aug 2009, 09:33 PM
  3. List products of Specific category in index page
    By millisami in forum General Questions
    Replies: 0
    Last Post: 23 May 2007, 12:11 PM
  4. Want three columns on index page but two on all others
    By dinki in forum Templates, Stylesheets, Page Layout
    Replies: 19
    Last Post: 23 Feb 2007, 10:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg