Results 1 to 7 of 7

Need help with categories/descriptions

This is a discussion on Need help with categories/descriptions within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi, I'm working my way thorugh osC and definitely like it. I've been able to accomplish most of what I ...

      
  1. #1
    New Member
    Join Date
    Jun 2004
    Posts
    6
    Rep Power
    0


    Default Need help with categories/descriptions

    Hi,

    I'm working my way thorugh osC and definitely like it. I've been able to accomplish most of what I want to do so far, but not yet all.

    Does anyone have advice on this idea:

    In the topmost category, I want to just have an intro page with a general overview of what the category is about. The items for sale would be in the subcategories. When I click on the subcategories, there'll be the listing of the items as there is (name, price, link to buy) in the default setup, but also the description of the item as shown when you click the individual item. Since I'd be doing it all on the subcategory page, I could probably get away with disabling the link to the individual item page (product_info.php). Something like:

    Category1 --> Overview
    Subcat1.1 --> Items Listing (w/description of each item)
    Subcat1.2 --> Items Listing (w/description of each item)
    Category2 --> Overview
    Subcat2.1 --> Items Listing (w/description of each item)
    ...

    Thanks

  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default

    Have you looked at the MAX version? It already has this Catagory discription contribution already added- as well as several other great contributions....
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  3. #3
    New Member
    Join Date
    Jun 2004
    Posts
    6
    Rep Power
    0


    Default

    Thanks for the reply. I tried to download it from the site, but it took me around in circles...maybe a problem with the coding in the download link.

    I found contributions that will do what I said above. However, I've been advised that something different is desired. What the owner (who also happens to be my wife ) wants is the following:

    Category 1 --> Main category page w/links to subs (as it is now); can have description if needed
    --Page with descriptive overview of entire category (this link to show up and look like a subcategory)
    --subcat --> Items Listing (w/description of each item) // have the contrib for this
    --subcat --> Items Listing (w/description of each item)
    Category 2
    --Overview
    --Subcat
    --Subcat
    ...


    I'm going to poke around a bit on this...I searched the contributions and didn't have luck. Do you (or anyone els who may read this) know of any contrib that might do the trick? I'm honestly trying to avoid having to attempt writing the contrib myself, but if I have to bite the bullet...

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default

    Turn off your software firewall, it prevents you from downloading oscmax. Then you will be able to get it.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    New Member
    Join Date
    Jun 2004
    Posts
    6
    Rep Power
    0


    Default

    Good news: The poking around was successful. I made a new subcategory that will be the overview page. I commented out the following in product_listing.php:

    /*else {
    $list_box_contents = array();

    $list_box_contents[0] = array('params' => 'class="productListing-odd"');
    $list_box_contents[0][] = array('params' => 'class="productListing-data"',
    'text' => TEXT_NO_PRODUCTS);

    new productListingBox($list_box_contents);
    }*/

    By disabling this, I don't get the message saying 'There are no products in this category'. Since the only categories that will have no items are the ones that will be devoted to overviews, I have no problem with this. By using the Category Description contribution, I can write the HTML that will be the body of the overview page.

    SWMBO* is very happy.

    Thanks for the help!


    -------
    *SWMBO: She Who Must Be Obeyed

  6. #6
    Active Member
    Join Date
    May 2004
    Location
    worcester ma
    Posts
    162
    Rep Power
    0


    Default

    mhtrozzo,

    Can you put your site address so i can see what you did?

  7. #7
    New Member
    Join Date
    Jun 2004
    Posts
    6
    Rep Power
    0


    Default

    fridgemags,

    Right now, I only have it on my local server. I'll be going away for a week, but when I get back, I'll be bringing it live. I'll make sure to message you with the address so you can see it.

    I also used the Products Short Description contribution, which puts a short description (!) of the items on the category page. I tweaked it so that the description is under the item name and put a "more>>>" link in.

Similar Threads

  1. Product Descriptions
    By coblasingame in forum osCMax v1.7 General Mods Discussion
    Replies: 1
    Last Post: 01-29-2006, 12:26 PM
  2. Product descriptions not appearing
    By crispin in forum osCmax v2 Installation issues
    Replies: 2
    Last Post: 11-04-2005, 11:18 PM
  3. Adding wysiwyg to Categories Descriptions
    By red_fraggle in forum osCMax v1.7 General Mods Discussion
    Replies: 1
    Last Post: 08-17-2005, 01:15 PM
  4. Different descriptions for one tax rate?
    By Lynoure in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 02-17-2004, 02:49 AM
  5. [BugFix] v1.5 Category Descriptions Bug
    By michael_s in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 09-25-2003, 11:50 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
  •