OpenCart 3.0.2.0 How To Remove the Link From Last Item of Breadcrumb
Posted: Wed Jun 13, 2018 3:39 pm
I've done this before with v2.3.x, thanks to the help provided by the people on this forum.
Now, I'm setting up OpenCart 3.0.2.0 on a dev server and I'm currently configuring it for SEO.
I want to achieve the following:
1. Remove the Link of the last item of the breadcrumb. Or remove the anchor tag from the last last item of the breadcrumb trail, it should be just plain text.
2. Remove "Home" from the breadcrumb. Home shows in Google Search Result Page.
Example:
https://www.store.tld > Home > Product Title
https://www.store.tld > Home > Category Title
https://www.store.tld > Home > Brand > Brand Name
https://www.store.tld > Home > Information Page Name
What I've tried?
I copied my working breadcrumb code snippet from OpenCart 2.3.x and converted it to twig compatible code using an online code converter. But that didn't worked.
However, this module below, fixes the product breadcrumb part.
https://github.com/angela-d/opencart-pa ... b-category
In Google search page, it shows:
https://www.store.tld > Category Name > Product Title
...instead of:
https://www.store.tld > Home > Product Title
or
https://www.store.tld > Home > Category Name > Product Title
I hope someone would jump in and help out.
Now, I'm setting up OpenCart 3.0.2.0 on a dev server and I'm currently configuring it for SEO.
I want to achieve the following:
1. Remove the Link of the last item of the breadcrumb. Or remove the anchor tag from the last last item of the breadcrumb trail, it should be just plain text.
2. Remove "Home" from the breadcrumb. Home shows in Google Search Result Page.
Example:
https://www.store.tld > Home > Product Title
https://www.store.tld > Home > Category Title
https://www.store.tld > Home > Brand > Brand Name
https://www.store.tld > Home > Information Page Name
What I've tried?
I copied my working breadcrumb code snippet from OpenCart 2.3.x and converted it to twig compatible code using an online code converter. But that didn't worked.
However, this module below, fixes the product breadcrumb part.
https://github.com/angela-d/opencart-pa ... b-category
In Google search page, it shows:
https://www.store.tld > Category Name > Product Title
...instead of:
https://www.store.tld > Home > Product Title
or
https://www.store.tld > Home > Category Name > Product Title
I hope someone would jump in and help out.