AbanteCart Community

Shopping Cart Operations => Support => Topic started by: newbox1 on April 06, 2015, 06:16:27 AM

Title: Product Catergory / Subcatergory display help
Post by: newbox1 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
Title: Re: Product Catergory / Subcatergory display help
Post by: Basara 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
Title: Re: Product Catergory / Subcatergory display help
Post by: newbox1 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
Title: Re: Product Catergory / Subcatergory display help
Post by: Basara 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

Title: Re: Product Catergory / Subcatergory display help
Post by: newbox1 on April 06, 2015, 01:11:18 PM
Thanks,


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

(http://www.another-perspective.co.uk/temp.JPG)

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
Title: Re: Product Catergory / Subcatergory display help
Post by: Gordon Taylor 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!
Title: Re: Product Catergory / Subcatergory display help
Post by: newbox1 on April 07, 2015, 04:03:27 AM
Thanks again!!

I've edited it and its all sorted now