Post by cosmicx » 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.
Last edited by cosmicx on Thu Jun 14, 2018 12:20 pm, edited 2 times in total.

Active Member

Posts

Joined
Mon Jan 09, 2012 6:27 pm

Post by IP_CAM » Thu Jun 14, 2018 2:36 am

Check here about this:
---
Remove Breadcrumb Product Name OC v.2.x - 3.x
https://www.opencart.com/index.php?rout ... n_id=33550
---

For Sale: Top URL's, including OpenCart V-Pro installed, like seen here:
http://www.bigmax.ch - http://www.ipcam.li - http://www.opencart.li
For Information + URL's offered, please contact me at: jti@jacob.ch
I am NOT available for Custom Support in existing OC Installations!
My Github Repositories: https://github.com/IP-CAM
Image


User avatar
Guru Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by cosmicx » Thu Jun 14, 2018 12:25 pm

@IP_CAM

I edited my post to make it clearer.

My other requirement is:
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.

Example:
Home > Category > Product Name

Where

Code: Select all

Product Name
should have no hyperlink, no anchor tag, just plain text.

I've check the module you posted, it doesn't satisfy my requirement. You might have understood that I am wanting to remove the last item of the breadcrumb trail. I've updated it to make it clear.

Active Member

Posts

Joined
Mon Jan 09, 2012 6:27 pm

Post by IP_CAM » Thu Jun 14, 2018 8:21 pm

Something like this then, I assume ...
Remove Last Link from Breadcrumb for OC2 (vQmod)
https://www.opencart.com/index.php?rout ... _id=27874&

For Sale: Top URL's, including OpenCart V-Pro installed, like seen here:
http://www.bigmax.ch - http://www.ipcam.li - http://www.opencart.li
For Information + URL's offered, please contact me at: jti@jacob.ch
I am NOT available for Custom Support in existing OC Installations!
My Github Repositories: https://github.com/IP-CAM
Image


User avatar
Guru Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by cosmicx » Fri Jun 15, 2018 3:55 pm

Yeap, exactly like that.

Like I said above, I have done it before with the help of the forum, but now I want to make it work on version 3.0.2.0

Active Member

Posts

Joined
Mon Jan 09, 2012 6:27 pm

Post by DigitCart » Fri Jun 15, 2018 4:45 pm


My Extensions / DigitCart


User avatar
Active Member

Posts

Joined
Thu Jun 22, 2017 5:32 pm


Post by cosmicx » Fri Jun 15, 2018 5:51 pm

NIce!

I further check the source code, it has no rich snippet. That's one of my other requirements.

Active Member

Posts

Joined
Mon Jan 09, 2012 6:27 pm

Post by DigitCart » Fri Jun 15, 2018 6:26 pm

I updated my demo, please check it now. Is this what you wanted?

My Extensions / DigitCart


User avatar
Active Member

Posts

Joined
Thu Jun 22, 2017 5:32 pm


Post by cosmicx » Wed Jun 27, 2018 10:41 pm

Yeah, something like that.

That solves my problem. Is it available from the marketplace?

But I require additional function like this one:
https://github.com/angela-d/opencart-pa ... b-category

Active Member

Posts

Joined
Mon Jan 09, 2012 6:27 pm
Who is online

Users browsing this forum: No registered users and 10 guests