Results 1 to 8 of 8
  1. #1
    Join Date
    Dec 2006
    Posts
    130
    Plugin Contributions
    0

    Default Prevent top category image from showing on product page?

    Hi,

    I have two questions...

    1. Do you know how to prevent top or sub-category images from displaying on the main product page? Example:

    http://www.tastyglutenfreebakery.com...uffin-p-1.html

    See how the category image is there, just above the main product image? That's fine if it were one one of the category pages, but not the main product page. How do you remove this?

    2. Also, when clicking on any of the sub-category links, for instance, "Muffins," it goes right to the product page and thus not to the category Muffins. How do you make it so it goes directly to the category, not the product? The link shows that it's supposed to go to http://www.tastyglutenfreebakery.com/muffins-c-9_1.html but it changes automagically after you click the link to http://www.tastyglutenfreebakery.com...uffin-p-1.html. What the darn?

    Any help would be appreciated.

    Thanks much.

  2. #2
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,099
    Plugin Contributions
    0

    Default Re: Prevent top category image from showing on product page?

    Quote Originally Posted by JHouse View Post
    Hi,

    I have two questions...

    1. Do you know how to prevent top or sub-category images from displaying on the main product page? Example:

    http://www.tastyglutenfreebakery.com...uffin-p-1.html

    See how the category image is there, just above the main product image? That's fine if it were one one of the category pages, but not the main product page. How do you remove this?

    2. Also, when clicking on any of the sub-category links, for instance, "Muffins," it goes right to the product page and thus not to the category Muffins. How do you make it so it goes directly to the category, not the product? The link shows that it's supposed to go to http://www.tastyglutenfreebakery.com/muffins-c-9_1.html but it changes automagically after you click the link to http://www.tastyglutenfreebakery.com...uffin-p-1.html. What the darn?

    Any help would be appreciated.

    Thanks much.
    Jh,
    1. Locate this:
    includes/templates/nunnathegluten/css/stylesheet.css

    Add this to the stylesheet.css
    #categoryIcon Img {display: none;}
    Mark
    Hare Do - Does the rabbit beat Zen "never".
    Zen Cart 1.5.1 Update Release Need help Purchase the Book

  3. #3
    Join Date
    Dec 2006
    Posts
    130
    Plugin Contributions
    0

    Default Re: Prevent top category image from showing on product page?

    Thanks for your help haredo.

    Is there another way to pull this off, ideally from the admin area? I implemented your suggestion and it worked, however, there's still the code and the br tag causing spacing issues. I'm sure I can locate where to remove this code, but I can't help but think there's an option to turn off sub-category images in the admin area. If possible, I'd rather take this route.

    Thanks.

  4. #4
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,369
    Plugin Contributions
    0

    Default Re: Prevent top category image from showing on product page?

    2. Also, when clicking on any of the sub-category links, for instance, "Muffins," it goes right to the product page and thus not to the category Muffins. How do you make it so it goes directly to the category, not the product?
    On my site it does what you want. This is the normal behaviour.

    Do you have more than one product in each sub-category? If you're just setting up the store, you might only have one in each, in which case that's the one that will be shown.

    Rob
    Breakfast: the most important donut of the day.

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    67,921
    Plugin Contributions
    6

    Default Re: Prevent top category image from showing on product page?

    You could peek in the Admin settings for Configuration ... Product Info ...
    Previous Next - Navigation Includes Category Position
    Product's Category Image and Name Alignment Above Previous/Next Navigation Bar
    0= off
    1= Align Left
    2= Align Center
    3= Align Right
    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: v1.5.3]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  6. #6
    Join Date
    Dec 2006
    Posts
    130
    Plugin Contributions
    0

    Default Re: Prevent top category image from showing on product page?

    Quote Originally Posted by Ajeh View Post
    You could peek in the Admin settings for Configuration ... Product Info ...
    That did the trick. Thank you.

    I can't tell you how many times I looked at both Product Info and Product Listing and couldn't find the solution. Thanks for your help.

  7. #7
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,369
    Plugin Contributions
    0

    Default Re: Prevent top category image from showing on product page?

    Ah, the mage has stepped forward to enlighten us.

    I'd set that so long ago I'd forgotten all about it. Upgrading is going to be like starting all over again.

    Rob
    Breakfast: the most important donut of the day.

  8. #8
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,099
    Plugin Contributions
    0

    Default Re: Prevent top category image from showing on product page?

    Quote Originally Posted by JHouse View Post
    That did the trick. Thank you.

    I can't tell you how many times I looked at both Product Info and Product Listing and couldn't find the solution. Thanks for your help.
    Jh,
    Glad Ajeh, got you on the right track.. she is the princess of Zen Cart..
    Mark
    Hare Do - Does the rabbit beat Zen "never".
    Zen Cart 1.5.1 Update Release Need help Purchase the Book

 

 

Similar Threads

  1. Prevent category image from showing up?
    By creativearc in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 19 Feb 2009, 06:31 PM
  2. How to prevent New Products from displaying on category page
    By JHouse in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 Apr 2008, 01:07 PM
  3. Replies: 1
    Last Post: 21 Sep 2007, 09:15 PM
  4. Showing category image as featured product image
    By LydiaM in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 18 Dec 2006, 11:52 AM

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
  •