Results 1 to 5 of 5
  1. #1

    Default Categories to show on top but not on side

    I sell personalized gifts. Right now I have categories for each department. I also want to create categories to divide my products into different classes. Is this possible?

    Here is an example:

    I have categories: Name Meanings, Photo Sports Balls, Garment Printing

    I want to keep these categories but have them show only on the top.

    I then want to create categories:
    Gifts for Her
    Gifts for Him
    Gifts for Couples

    Wedding gifts
    Birthday Gifts
    Anniversary Gifts...

    and have these show only on the side.

    The problem I am having is that I am only given the choice to have categories on the top...which is what I want. I would just like to decide which ones I want on the top and on the side.

    My only other option would be to use ezpages and then just have pics with it linking to the actual page of the product...it just seems too much and out of place. Ez pages is located at the bottom and with the other categories showing still on the sidebox...it would just look....a mess.

    Help

  2. #2
    Join Date
    Jan 2008
    Posts
    2
    Plugin Contributions
    0

    Default Re: Categories to show on top but not on side

    I just set that up and am almost done with it. I have the categories displaying up top right now. Here's what I did, don't know if it's the best way but it's working.

    1) I added a field to the categories table 'zen_categories' in my database. The name of the field is 'top', type: tinyint, size: 1, default: 0.

    2) Enter a 1 in this field for categories you would like to display up top.

    3) Edit the sql statement on line 16 of /includes/modules/categories_tabs.php. Add ' AND c.top = 1' to the end of it.

    That's it. I'm still trying to figure out where the sql statement for the side categories is so i can add ' AND c.top = 0' to only include the categories that are meant to go on the side.

    Hope this helps!

  3. #3

    Default Re: Categories to show on top but not on side

    wow....no....sorry

    It doesn't help me. I am very slow when it comes to this. I need things broken down.

    So on your site you can see categories on the top but not show them on the side?

    Are you still in the process of doing this? Please keep me updated. I am considering converting my categories to just generic ones and copying products in different folders....
    ex: gifts for kids
    gifts for her
    gifts for him

    and deleting my first set of categories...(not having them show at all.)

    I looked for a mod for this but didn't see one.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,886
    Plugin Contributions
    6

    Default Re: Categories to show on top but not on side

    Have you tried just turning OFF the Categories Sidebox in the Tools ... Layout Boxes Controller ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  5. #5
    Join Date
    Jan 2008
    Posts
    2
    Plugin Contributions
    0

    Default Re: Categories to show on top but not on side

    I'm still working on it, it is displaying the categories up top just like you're describing though. Send me a private email and I'll gladly help you with it.

 

 

Similar Threads

  1. Display-only attributes: show side by side?
    By cosmocanuck in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 20 Mar 2011, 04:29 AM
  2. Show Top level Categories and 1st sub level categories in side box
    By airtime in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 3 Mar 2011, 06:03 PM
  3. Categories side box to always show sub categories
    By vandiermen in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 11 Mar 2008, 07:16 AM
  4. Categories won't show on left side of page
    By HIJACKER in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 21 Nov 2007, 06:42 PM

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
  •