Author Topic: Product Catergory / Subcatergory display help  (Read 5023 times)

Offline newbox1

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Product Catergory / Subcatergory display help
« on: April 06, 2015, 06:16:27 AM »
Can I change things so when a user hovers over a main product category it doesn't display the list of sub categories, I want them to click the link to display all the sub categories.

Ans a second question, I want to use a sub category twice so it is linked to two different parent categories, is this possible?

Thank You

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5796
  • Karma: +274/-2
    • View Profile
Re: Product Catergory / Subcatergory display help
« Reply #1 on: April 06, 2015, 07:19:05 AM »
Can I change things so when a user hovers over a main product category it doesn't display the list of sub categories, I want them to click the link to display all the sub categories.
Hi.

You need to modify your template files.

Ans a second question, I want to use a sub category twice so it is linked to two different parent categories, is this possible?

Thank You
Subcategory can be linked to one parent category only. But you can link one product to few subcategories

Offline newbox1

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Product Catergory / Subcatergory display help
« Reply #2 on: April 06, 2015, 09:34:49 AM »
Thanks for your reply.

Can you tell me which template file I need to edit and how?

Thank You

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5796
  • Karma: +274/-2
    • View Profile
Re: Product Catergory / Subcatergory display help
« Reply #3 on: April 06, 2015, 09:58:41 AM »
Thanks for your reply.

Can you tell me which template file I need to edit and how?

Thank You

Hi. I am not sure what template you have so go to Admin-System-Settings-System Tab and enable template debug.
Link to StoreFront Template debug appear


Offline newbox1

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Product Catergory / Subcatergory display help
« Reply #4 on: April 06, 2015, 01:11:18 PM »
Thanks,


I've enabled debug and here is a screen shot:



So i guess i need to edit the category.tpl file, Can I make these changes within the admin dashboard or do I need to edit the code within the tpl file?

Thank you again

Offline Gordon Taylor

  • Global Moderator
  • Full Member
  • *****
  • Posts: 150
  • Karma: +28/-1
    • View Profile
    • Natural Handcrafted Soaps
Re: Product Catergory / Subcatergory display help
« Reply #5 on: April 06, 2015, 06:33:30 PM »
You'll need to change the .tpl file that corresponds to what you want change, remember, updates will undo your changes!

Offline newbox1

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Product Catergory / Subcatergory display help
« Reply #6 on: April 07, 2015, 04:03:27 AM »
Thanks again!!

I've edited it and its all sorted now

 

Powered by SMFPacks Social Login Mod