Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2006
    Posts
    308
    Plugin Contributions
    0

    Default subcategory image

    Zen Cart 1.3.7

    See a sample page here.

    The subcategory image and subcategory name "Other Stations" is displayed above the product image. How do I remove the subcategory image and subcategory name completely? The category and subcategory name above that is enough, and I don't want to confuse customers by showing images on the page that aren't of this product.

    I do use subcategory images for customers browsing a category. But even if I remove the subcategory image, it still displays the subcategory name in that location.

  2. #2
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: subcategory image

    i couldn't find any setting in admin to turn off this feature .. but you can remove block of code from your tpl_product_info_display.php.

    if you have override , then copy that template to your over ride ..

    remove the following code

    <!--bof Category Icon -->
    <?php if ($module_show_categories != 0) {?>
    <?php
    /**
    * display the category icons
    */
    require($template->get_template_dir('/tpl_modules_category_icon_display.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_category_icon_display.php'); ?>
    <?php } ?>
    <!--eof Category Icon -->

    that should be around line 24.

    someone might know the setting in admin to turn off this feature .. i guess i would wait for answer before modifying any code

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: subcategory image

    You might peek in the Configuration ... Product Info ...
    Product's Category Image and Name Alignment Above Previous/Next Navigation Bar
    0= off
    1= Align Left
    2= Align Center
    3= Align Right
    See if turning that OFF gives you the desired affect of removing both the Category Name and Category Image ...
    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!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: subcategory image

    Yep.. it dose work .. but i have to admit , I have spend soo much time on admin section and what needs to be on or off or sorted , very confusing. i hope version 2 , will address all this and group the related stuff much better.

  5. #5
    Join Date
    Aug 2008
    Posts
    448
    Plugin Contributions
    0

    Default Re: subcategory image

    Quote Originally Posted by Ajeh View Post
    You might peek in the Configuration ... Product Info ...


    See if turning that OFF gives you the desired affect of removing both the Category Name and Category Image ...
    Hi Linda,
    What is the exact path? I don't see a: "Product's Category Image and Name Alignment" under that section. All I have are these.


    Previous Next - Button and Image Status 0
    Previous Next - Navigation Includes Category Position 0
    Previous Next - Navigation Includes Category Name and Image Status 2
    Previous Next - Navigation Bar Position 0
    Previous Next - Button and Image Settings 0
    Previous Next - Sort Order 1
    Previous Next - Image Width? 50
    Previous Next - Image Height? 40
    Products Info - Products Option Name Sort Order 0
    Products Info - Product Option Value of Attributes Sort Order 1
    Product Info - Show Option Values Name Below Attributes Image 1
    Product Info - Show Sales Discount Savings Status 1
    Product Info - Show Sales Discount Savings Dollars or Percentage 1
    Product Info - Show Sales Discount Savings Percentage Decimals 0
    Product Info - Price is Free Image or Text Status 1
    Product Info - Price is Call for Price Image or Text Status 1
    Product Quantity Box Status - Adding New Products 1
    Product Reviews Require Approval 1
    Meta Tags - Include Product Model in Title 0
    Meta Tags - Include Product Price in Title 0
    Meta Tags Generated Description Maximum Length? 25
    Also Purchased Products Columns per Row

  6. #6
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: subcategory image

    you have to edit
    Previous Next - Navigation Includes Category Position

    yours is set to 0 so it wont show the image and link

  7. #7
    Join Date
    Jul 2006
    Posts
    308
    Plugin Contributions
    0

    Default Re: subcategory image

    That config setting did it, thanks everyone!

 

 

Similar Threads

  1. Repositioning 'Category Icon Image' and ''Top Subcategory Image'
    By ingoito in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 25 Jan 2009, 01:35 PM
  2. Subcategory Image with html image map?
    By j1l2i3p4k5i6n7g8 in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 8 Jan 2009, 01:23 AM
  3. Usa an image with maps as a category image instead of subcategory images
    By ychousa in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 23 May 2008, 07:06 PM
  4. display category image and subcategory image
    By Xaria in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 31 Mar 2008, 11:12 AM
  5. Subcategory image same as category image!
    By Karole in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 9 Apr 2007, 11:00 PM

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