Results 1 to 8 of 8
  1. #1
    Join Date
    Oct 2008
    Location
    Oregon
    Posts
    57
    Plugin Contributions
    0

    Default How to make featured items show up on home index page?

    I have a bunch of rather random products showing up on my main home index page. I would like to have some control over which products show up on my home page and would like to do this with featured items.

    I have 9 featured items defined, their status is all green, and the date range includes today. Yet, no featured products on the main page.

    I do have products on the main page, they just aren't the featured products. How can i control this?

    Here is a URL http://www.saintsmobiles.com
    The Hookah Store www.TheHookahStore.com

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: How to make featured items show up on home index page

    Quote Originally Posted by hookah View Post
    I have a bunch of rather random products showing up on my main home index page. I would like to have some control over which products show up on my home page and would like to do this with featured items.

    I have 9 featured items defined, their status is all green, and the date range includes today. Yet, no featured products on the main page.

    I do have products on the main page, they just aren't the featured products. How can i control this?

    Here is a URL http://www.saintsmobiles.com
    admin -> configuration -> index listing -> Show Featured Products on Main Page

  3. #3
    Join Date
    Oct 2008
    Location
    Oregon
    Posts
    57
    Plugin Contributions
    0

    Default Re: How to make featured items show up on home index page

    Quote Originally Posted by clydejones View Post
    admin -> configuration -> index listing -> Show Featured Products on Main Page
    I tried that and it didn't work. I tried these settings...

    Show New Products on Main Page = 0
    Show Featured Products on Main Page = 1
    Show Special Products on Main Page = 0
    Show Upcoming Products on Main Page = 0

    The result was NO products on main page.

    My first thought was to go to Admin -> Catalog -> Featured Products

    I there I have 9 products, all with the status being green and all of them show up when I click on the Featured Products link in categories.

    Yet, NOT on the main page.
    The Hookah Store www.TheHookahStore.com

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,188
    Plugin Contributions
    11

    Default Re: How to make featured items show up on home index page?

    Have you cleared your cache? I'm seeing 8 Featured Products

  5. #5
    Join Date
    Oct 2008
    Location
    Oregon
    Posts
    57
    Plugin Contributions
    0

    Default Re: How to make featured items show up on home index page?

    This has just become a programming issue, not a configuration issue.

    Any zencart coders have any idea how to handle this?

    I am using the bluecart template which it seems was coded incorrectly. It has a function called cut_str() which shows a limited amount of the product description followed by "..." and someone put that function inside the /includes/modules/bluecart/new_products.php. This would be all fine and good if it wasn't also needed by featured products, and specials.

    The result is, if new_products.php isn't loaded before the rest, php crashes because the function does not exist.

    So, I am looking for a reasonable place to move that function to where it will always be available.
    The Hookah Store www.TheHookahStore.com

  6. #6
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,188
    Plugin Contributions
    11

    Default Re: How to make featured items show up on home index page?

    OK....
    Clicked on wrong link
    Lots of bluecarrt template code problems mentioned in the forum and lots on the site.
    When the php crashes, does it create any debug files in the cache directory?

  7. #7
    Join Date
    Oct 2008
    Location
    Oregon
    Posts
    57
    Plugin Contributions
    0

    Default Re: How to make featured items show up on home index page?

    Quote Originally Posted by dbltoe View Post
    OK....
    Clicked on wrong link
    Lots of bluecarrt template code problems mentioned in the forum and lots on the site.
    When the php crashes, does it create any debug files in the cache directory?
    It wasn't the cache, it was a function within the bluecart template module that was only in the new products. As long as new products was on top, everything was working.

    Otherwise, it was a php error of not being able to find the function in my server logs. PHP Fatal error: Call to undefined function cut_str()

    I removed that function from new products and created a whole new file in /includes/functions/extra_functions/functions_bluecart.php and placed the function there. Now it doesn't matter which order I display things in, i can have just featured products or anything else in any order.

    I don't know where I found bluecart but it was a free public domain template so if anyone is using it and has this problem. this solution works.

    It is the cut_str() function in modules/bluecart/new_products.php that needs to be moved.
    The Hookah Store www.TheHookahStore.com

  8. #8
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,188
    Plugin Contributions
    11

    Default Re: How to make featured items show up on home index page?

    When I spoke of the cache, I said the cache directory not like "clear the cache." In the early stages of 1.3.9, a cache directory was added to the root of zen cart and, if the system glitches, a debug file might have been created in that directory. Any debug file there could help in fixing a problem.

 

 

Similar Threads

  1. v150 How do I set up home page to show featured products
    By reachesfar in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 Jun 2013, 09:36 PM
  2. How do I show Featured Products on my home page?
    By bionetsecurity in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 29 Jan 2013, 10:51 PM
  3. How do I show only Featured Products on home page?
    By peterpan2004 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 24 Mar 2010, 04:53 AM
  4. how to make it to show up on Home page only.
    By bumergroup in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Aug 2008, 12:42 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR