Results 1 to 6 of 6

Hybrid View

  1. #1

    Default category info for specific category only

    Is it possible to display specific category information subcategories for a specific category on in zen-cart? And if so how would I go about doing this?
    Rich People scream, Wealthy people whisper

    www.cooltechcentral.com

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: category info for specific category only

    Do you mean having information pages that are embedded in the normal category structure?
    You could make a subcategory and then edit it (bottom of page) to
    Restrict to Product Type [Document-General].
    This would make it contain non-purchase document pages.

  3. #3
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: category info for specific category only

    Quote Originally Posted by ctcentralinfo View Post
    Is it possible to display specific category information subcategories for a specific category on in zen-cart? And if so how would I go about doing this?
    Sorry but I've read "specific category information subcategories for a specific category" half a dozen times and still have no idea what it means. Could you clarify?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  4. #4

    Default Re: category info for specific category only

    Something similar to www.walmart.com

    for their apparel section you get:

    http://www.walmart.com/apparel?fromPageCatId=14503

    for baby category you get:

    http://www.walmart.com/baby?fromPageCatId=14503


    for the book section you get:

    http://www.walmart.com/books?fromPageCatId=14503

    get my drift?
    Rich People scream, Wealthy people whisper

    www.cooltechcentral.com

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: category info for specific category only

    Anything is possible, but that level of detail is going to require a bunch of custom coding.

  6. #6
    Join Date
    Apr 2006
    Location
    Fort Bragg, North Carolina
    Posts
    153
    Plugin Contributions
    0

    Default Re: category info for specific category only

    If I want a specific message to be displayed only on specific categories I do the following.

    I modify the tpl_product_info_display.php by adding the following code wherever I want my message displayed:

    <?php if ($cPath == 1) {
    echo TEXT_TO_BE_DISPLAYED;
    }
    ?>


    then I modify my english.php to specify the message i.e.

    define('TEXT_TO_BE_DISPLAYED', 'Zen Cart is so cool.');

    or even easier, you can just add the code below to your tpl_product_info_display.php:

    <?php if ($cPath == 1) { ?>
    Your text goes here
    <?php } ?>


    this way you don't need to bother with your english.php. I'd recommend the first example.

    By the way, in case you don't know how to get the category id for the one you want to modify, either look at the url, it should look like this: ....index.php?main_page=product_info&cPath=1&products_id=27 or look at the category id on your Categories / Products page in your Admin.

    If you have lots of different messages for different categories it will be a bunch of coding like gjh42 says...

    Hope this helps

 

 

Similar Threads

  1. specific banner to show for specific category
    By vijay in forum Basic Configuration
    Replies: 1
    Last Post: 26 Aug 2009, 01:19 PM
  2. Category of products for specific group only?
    By GoldBooks in forum Managing Customers and Orders
    Replies: 1
    Last Post: 10 Mar 2009, 06:19 AM
  3. Customizing Info Display for a specific Sale Category
    By KNC_JOHN in forum Setting Up Specials and SaleMaker
    Replies: 4
    Last Post: 19 Jan 2008, 05:46 AM
  4. Use Category Meta Info to Test for Adult Category?
    By dohertywa in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 14 Nov 2006, 03:24 PM
  5. Category Specific Info Pages
    By saadlive in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 8 Jul 2006, 01:37 AM

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