You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many pages like the Log-in Page produce incorrect breadcrumbs. Currently Products is practically reported back as root if the page is neither home nor a Taxon or Product.
def crumbs
return @crumbs if @crumbs
@crumbs = [
{ name: t('spree.home'), url: helpers.root_path },
{ name: t('spree.products'), url: helpers.products_path }
]
if(taxon)
@crumbs += taxon.ancestors.map do |ancestor|
{ name: ancestor.name, url: helpers.nested_taxons_path(ancestor.permalink) }
end
@crumbs << { name: taxon.name, url: helpers.nested_taxons_path(taxon.permalink) }
end
@crumbs
end
In fact Google gives wrong breadcrumbs
Solidus Version:
Current
To Reproduce
Install starter-frontend
Current behavior
Wrong breadcrumbs are shown
Expected behavior
The page should produce a breadcrumb path similar to Home > Login.
A login page breadcrumb can be ommited according to specifications, but the page should be placed in the correct paternal element (eg Home or Home > Account)
Screenshots
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
The text was updated successfully, but these errors were encountered:
Many pages like the Log-in Page produce incorrect breadcrumbs. Currently Products is practically reported back as root if the page is neither home nor a Taxon or Product.
breadcrumbs_component.rb
In fact Google gives wrong breadcrumbs
Solidus Version:
Current
To Reproduce
Install starter-frontend
Current behavior
Wrong breadcrumbs are shown
Expected behavior
The page should produce a breadcrumb path similar to Home > Login.
A login page breadcrumb can be ommited according to specifications, but the page should be placed in the correct paternal element (eg Home or Home > Account)
Screenshots
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
The text was updated successfully, but these errors were encountered: