Author Topic: Showing breadcrumbs following the category structure  (Read 4786 times)

m.davide82

  • Jr. Member
  • **
  • Posts: 192
Showing breadcrumbs following the category structure
« on: March 20, 2020, 15:10:38 PM »
Hello,

in order to have a clean breadcrumb, without any problems, is there any way to show the breadcrumbs following the category structure instead of the menu structure?


Thanks a lot.
Davide

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1707
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Showing breadcrumbs following the category structure
« Reply #1 on: March 20, 2020, 17:53:59 PM »
Hi,

Yes, there is a way to display breadcrumbs without problems and by using the category structure.
Where does it not work?
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4719
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Showing breadcrumbs following the category structure
« Reply #2 on: March 20, 2020, 21:25:45 PM »
If you setup corretly your Joomla menus, the category and breadcrumb can have same structure.

m.davide82

  • Jr. Member
  • **
  • Posts: 192
Re: Showing breadcrumbs following the category structure
« Reply #3 on: March 21, 2020, 12:56:55 PM »
Hi,

Yes, there is a way to display breadcrumbs without problems and by using the category structure.
Where does it not work?

Hi Pinochico,

ok, how can I show it following the vm category structure?

If you setup corretly your Joomla menus, the category and breadcrumb can have same structure.


Hi Studio 42,

I know, but if I need to have custom urls, I need to create menu items in a differente manner, not the same of the breadcrumbs.

Example:
School > Trolley
Url will be: school/trolley

If I would like to have only trolley in url, I need to create an hidden menu on the first level and after create an alias in the second level of the main menu.
Doing this job, the breadcrumb will be just Trolley and not School > Trolley.


Thanks a lot,
Davide

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4719
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Showing breadcrumbs following the category structure
« Reply #4 on: March 21, 2020, 13:47:05 PM »
If you want remove the first level, then you have of course to use alias in main menu and real category link in a hidden menu.
But this is only the case for the first level of categories.
Another solutions, is to create an override of the breadcrumb module, or create your own breadcrumb module. I have already code similar request for my customer(eg if a breadcrumb item have no link this need to be removed for google snippets since last year)
The logic is to verify if you have in request option=com_virtuemart. If it's the case, then you write your own breadcrumb links.

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1707
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Showing breadcrumbs following the category structure
« Reply #5 on: March 21, 2020, 19:52:30 PM »
Hi,

as wrote Patrick:

- use override of the breadcrumb module, or create your own breadcrumb module (don't forget for new google rich snippets)
- use plugin for Virtuemart Rich Snippets (breadrumb is part of plugin) - https://www.minijoomla.org/extensions/google/rich-snippets-for-virtuemart
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

m.davide82

  • Jr. Member
  • **
  • Posts: 192
Re: Showing breadcrumbs following the category structure
« Reply #6 on: March 23, 2020, 11:04:08 AM »
Hi Guys,

I know that I need to do an override, but I don't know how to get the right values! :)

@Pinochico, my template supports the rich snippets, if I buy that plugin, can I disable the rich snippets of your plugin and use it only for breadcrumbs?

Thanks.
Davide

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4719
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Showing breadcrumbs following the category structure
« Reply #7 on: March 23, 2020, 17:29:37 PM »
The code is too long to write. So i cannot write it for you for free.
Contact me, if you need, it should be done in an hour.

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1707
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Showing breadcrumbs following the category structure
« Reply #8 on: March 26, 2020, 12:52:05 PM »
Quote
@Pinochico, my template supports the rich snippets, if I buy that plugin, can I disable the rich snippets of your plugin and use it only for breadcrumbs?

Yes
Are You looking on product images?
https://www.minijoomla.org/images/stories/virtuemart/product/rich_snippets-setup-02.jpg
https://www.minijoomla.org/images/stories/virtuemart/product/rich_snippets-setup-03.jpg
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

m.davide82

  • Jr. Member
  • **
  • Posts: 192
Re: Showing breadcrumbs following the category structure
« Reply #9 on: March 27, 2020, 14:53:48 PM »
Hi pinochico,

yes, I saw it, but to be sure it's better to ask.

So you can confirm that the breadcrumbs is made from Virtuemart categories and not from the menu structure?

Thanks.
Davide

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1707
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Showing breadcrumbs following the category structure
« Reply #10 on: March 27, 2020, 15:34:54 PM »
Yes,

for breadcrumbs we use category strom (function getPathway), not Joomla menu list
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

m.davide82

  • Jr. Member
  • **
  • Posts: 192
Re: Showing breadcrumbs following the category structure
« Reply #11 on: March 27, 2020, 15:36:05 PM »
Ok, thanks.


Regards,
Davide

m.davide82

  • Jr. Member
  • **
  • Posts: 192
Re: Showing breadcrumbs following the category structure
« Reply #12 on: April 18, 2020, 12:24:03 PM »
Yes,

for breadcrumbs we use category strom (function getPathway), not Joomla menu list

Pinochico, I tried to buy your extensions but GOPay doesn't accept my credit cards, why? I haven't problems with them.
Tried to contact you via form, but no captcha and it doesn't work.

Thanks.

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3944
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Showing breadcrumbs following the category structure
« Reply #13 on: April 18, 2020, 13:54:56 PM »
@Pinochico

Contact form at minijoomla:

Quote
Error
Captcha plugin not set or not found. Please contact a site administrator.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1707
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Showing breadcrumbs following the category structure
« Reply #14 on: April 18, 2020, 18:33:27 PM »
davide82:

Sorry, today I created plugin for trusted Shops for virtueMart and I'm busy, pls try send me email to

rudolf.balas@minion.cz

I will fix contact form and look insode gopay log, why you can't buy with creditcards
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products