in

dashCommerce

An ASP.NET Open Source e-Commerce Application

Category Descriptions

Last post 10-28-2008 12:12 PM by cdils. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 09-30-2008 6:12 PM

    • cdils
    • Top 200 Contributor
    • Joined on 08-19-2008
    • Posts 5

    Category Descriptions

    Hi, I have been looking around to see if others have experienced my problem or posted about it, but no dice. 

    The situation: When using the DC Admin tool to add a product category, I add the category name, image, and description. Easy peasy.

    The problem: When viewing the main category page, the description does not show up as regular text on the page - It only shows when I mouseover the category name (which is also a hyperlink)

    I've started with catalog.aspx and isolated the section of code that produces the category name at the top of the page, but am having trouble working my way backward from there to see where I can print the description as part of the regular text in that table instead of the title of a <td>.(See browser source code below for example):

     <tr>

        <td onmouseover="Menu_HoverStatic(this)" onmouseout="Menu_Unhover(this)" 
    onkeyup
    ="Menu_Key(event)" title="This is my description." id="ctl00_ContentPlaceHolder1_categoryCrumbsn0">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tbody><tr>
    <td style="white-space: nowrap;"><a class="ctl00_ContentPlaceHolder1_categoryCrumbs_1"
    href="Catalog-MY-Category-name_1.aspx">MY Category name</a></td>
    </tr></tbody>
        </table></td><td><img src="App_Themes/gsg/images/icons/breadcrumb.gif" alt="">
       </td>
    </tr>

    BTW - I have a lot of background with classic ASP, but am still feeling out .NET, so feel free to "dumb-down" your answers. Your help is appreciated!

     -Carrie

  • 10-13-2008 2:41 PM In reply to

    • cdils
    • Top 200 Contributor
    • Joined on 08-19-2008
    • Posts 5

    Re: Category Descriptions

     Still looking for some help on this one. Has anyone else experienced this?

  • 10-28-2008 12:02 PM In reply to

    Re: Category Descriptions

    This is just a flaw (in my opinion) in the way the catalog page works.  If anything, the current "description" field should show up as meta data for that page, not as ALT info... don't know what they were thinking.

    Anyhow...  What needs to happen is there needs to be a whole nother field on the category admin page, lets say "HTML Description" that uses the FCK editor and all.  This new field must also be stored in the database as another column in the categories table.  Then you must create a placeholder (control) on the catalog.aspx page for this new html text, as well as some code behind to wire up the data.  If none of this makes sense, you might need to farm it out.  It is just too much to explain in a forum. 

    Good place to start: http://dashcommerce.org/forums/t/867.aspx

  • 10-28-2008 12:12 PM In reply to

    • cdils
    • Top 200 Contributor
    • Joined on 08-19-2008
    • Posts 5

    Re: Category Descriptions

    No, that makes sense. It also answers my question of whether that feature is working as intended (even if not ideal) or if there was something buggy going on. I'll try a work around along the lines you've suggested.

     Thanks!

Page 1 of 1 (4 items)