If you want to get instant help...please click here to submit a ticket [ link ]
We support 7000+ osCommerce add-ons! Affordable, Reliable, Speed on Rails services on customizations of osCommerce shipping, payment, marketing and others.

Categories XC

for osCommerce Merchant version 2.2


Retail Price: $100.00


Ask a Question About:Categories XC

by granteperry

A categories infobox which generates expandable javascipt menus. Displays a [+] or [-] next to categories with sub categories. It is expands appropriate menus depending on the users location in the catalog. There is also the option to hide empty categories (on by default).

HTML generated consists only of unordered lists
    and sub unordered lists
      • making it W3C compliant and highly accessible to assistive technologies. Also meaning it displays fine when JS is disabled. Additional functionality and HTML code is generated dynamically with the javascript.

        Special thanks to Ben Boyle for the menu, I've just implemented it in to osCommerce.

My categories-xc file.

02/12/2007 by ust-tuning

Changed the following:

- At start only main categories are shown
- show product count can be enabled/disabled in admin section
- current categorie is shown bold

At the moment there is one little problem left. In the middle of the screen, there are also emtpy categories shown. Will try to fix this also this week, it's perhaps a line in index.php to change...

Sry it took me so long to upload this, had some months no problems, so didn't need to check forum ;)

Regards from austria... if there are questions:


XC Menu with images

01/05/2007 by sylvioruiz

Hello Everybody !

Thanks for this contribution, this is very useful.
I changed one line of your code to put images in a place of "[+]" and "[-]".
I think this will be interesting for other people.

Search and replace this code in js script:
a.appendChild(document.createTextNode(v));

for :
img = document.createElement("img");
if (v == '[+]') { img.src = "folder_close.png"; } else { img.src = "folder_open.png"; }
img.border = 0;
a.appendChild(img);

Note: My images are folders like windows folders, with 16x16 pixels size. You can replace for any image what you want, but some little code need to be changed in css to adjust image size in the line.

File attached is this text.

Best Regards;

Sylvio Ruiz
Rio de Janeiro - Brazil


Fixed

11/25/2006 by DigitalRealms

Add the following to the top line of categories-xc.php:



Full Download.


To ust-tuning

11/10/2006 by TheExterminator

Hey. I have try to make it. But it not working, can you please upload you "categories_xc.php"

Thanks

Do not download the file


Only modified it, to let it look better with more categories DO NOT DOWNLOAD

11/10/2006 by ust-tuning

in categories-xc.php change

$categoriesxc_string .= "t


  • to

    if ($display_category == true) {

    if ($level{$categories['parent_id']} == 0) {
    $categoriesxc_string .= "
    t
  • } else {
    $categoriesxc_string .= "t
  • }


    So it will look like my one. http://www.ultimate-store.net/shop/

    DO NOT DOWNLOAD, ONLY APPLY CHANGES

  • Show Category Counts in Adminarea DO NOT DOWNLOAD

    11/10/2006 by ust-tuning

    Simple edit in categories-xc.php

    if (SHOW_COUNTS) {
    if ($products_in_category > 0) {
    $categoriesxc_string .= ' (' . $products_in_category . ')';
    }
    }

    to

    if (SHOW_COUNTS == 'true') {
    if ($products_in_category > 0) {
    $categoriesxc_string .= ' (' . $products_in_category . ')';
    }
    }

    and the function "Show Category Counts" in admin section is working with this contrib.

    Thanks for this grate contrib.

    DO NOT DOWNLOAD FILE


    Categories XC 1.1

    07/21/2006 by akhnon

    Great one!
    I fixed a couple of things in this contribution. It should now work on a standard OsC 2.2 MS 2 distribution.


    this appears to be broken/incomplete

    06/15/2006 by iofast

    This contribution appears to be broken or incomplete. Lack of instructions and possibly images or whatever else necessary to run this properly does not exist. Looks like a great idea! Hope someone can post a fix.


    Categories XC

    05/13/2006 by granteperry

    A categories infobox which generates expandable javascipt menus. Displays a [+] or [-] next to categories with sub categories. It is expands appropriate menus depending on the users location in the catalog. There is also the option to hide empty categories (on by default).

    HTML generated consists only of unordered lists
      and sub unordered lists
        • making it W3C compliant and highly accessible to assistive technologies. Also meaning it displays fine when JS is disabled. Additional functionality and HTML code is generated dynamically with the javascript.

          Special thanks to Ben Boyle for the menu, I've just implemented it in to osCommerce.


    As experienced osCommerce Experts, we are glad to help you to install this addon. The process is as follow:

    You Risk Nothing: No Upfront Payment Required

    Our NO RISK POLICY is clear. You pay only for the successful completion of the installation. If you are not satisfied or we are unsuccessful, your site will be returned to its previous working state and you pay nothing! NOT A PENNY!
    Once you are satisfied with our help, you can pay us through Paypal.

    OUR NO RISK GUARANTEE 1. No upfront payment is required 2. You only pay on successful completion 3. Money Back Guarantee within 90 Days ! You don't get guarantee like this any where else . . . You Don't Risk One Peny!
    Add to Cart:



    Copyright © 2006-2012 www.oscexp.com