News:

Support the VirtueMart project and become a member

Main Menu

Subcategories in the frontpage?

Started by panoss, August 31, 2016, 09:01:59 AM

Previous topic - Next topic

panoss

Is there some way (except from changing the VM code (or overriding it)) to display subcategories in the frontpage?
Virtuemart 3.2.4 on Joomla! 3.8.0

Studio 42

You mean the secondary level ?
If it's only for frontpage, then you can use virtuemart categories module. Of course  this need to change the CSS.
Another solution is to use mod custom and add all links to sub categories or add all in your shop description.

panoss

Quote from: Studio 42 on August 31, 2016, 11:34:37 AM
You mean the secondary level ?
Top Level Category
--Curtains

This way it appears in the front end.

But I want to do add another category:
Top Level Category
--Products
----Curtains

So that 'Curtains' will now have as parent the 'Products' category.

The problem is that, now, that 'Curtains' won't have as parent the 'Top Level Category', they won't appear in the frontpage of VM.

So as another solution I 'm thinking of leaving it as is, having as parent the 'Top Level Category' and 'Products' not to be added at all.
Virtuemart 3.2.4 on Joomla! 3.8.0

GJC Web Design

exactly.. why do u have products as a cat?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

panoss

Because I don't have only products, I also have services.

I was thinking of creating something like this:

Top Level Category
--Products
----Curtains
----Furniture
--Services
----Cleaning
----Painting
Virtuemart 3.2.4 on Joomla! 3.8.0

Milbo

load the last vm3.0.17.6 and use the category view instead
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

panoss

Thank you very mush, I'll give it a try.
My only problem is I'll have to re-enter the data, categories, products etc (I suppose the table structure will have differencies).
Virtuemart 3.2.4 on Joomla! 3.8.0

GJC Web Design

definitely not.. this is just an upgrade.. no data will be touched

just install via the Joomla installer
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

panoss

#8
Quote from: Milbo on September 01, 2016, 19:22:54 PM
load the last vm3.0.17.6 and use the category view instead
I just tried it, very very nice!

But now I have two problems!

1. I can't change the number of categories per row.
I tried in the 'Product Category Form' of category 'Products' in 'Number of Products per Row'.
I put 3 but they 're still 4 per row.
I tried and with css but the result was bad.
How can I change it?

2. The categories which now have a new parent (either 'Products' or 'Services') disappeared from the frontpage (ok, logical, as they 're no more 'Top Level Categories', but I must somehow make them reappear!).
Virtuemart 3.2.4 on Joomla! 3.8.0