Add subcategories & parent category to product breadcrumbs and increase SEO visibility for your store.

angela 159e2da50e Readme cleanup 1 year ago
img 11425174cd inital commit 2 years ago
CHANGELOG.md 11425174cd inital commit 2 years ago
LICENSE 11425174cd inital commit 2 years ago
README.md 159e2da50e Readme cleanup 1 year ago
breadcrumb-parent-category-v1.0.ocmod.zip 11425174cd inital commit 2 years ago
git.php fa9c7ff40c linguist file added 2 years ago
install.xml 11425174cd inital commit 2 years ago
installing-instructions.md 11425174cd inital commit 2 years ago
upgrade-instructions.md 11425174cd inital commit 2 years ago

README.md

Parent Breadcrumb Category v1.0

For Open Cart 2.3.0.2 & 3.0.2.0

For a list of improvements & fixes, see the changelog.

Features

  • Self-extracting in OCMOD format
  • No configuration - install it & it works
  • Includes Parent category and subcategories in all product breadcrumbs
  • Strengthen your SEO

:link: Install Instructions

:link: Upgrade Instructions


Usage

This super simple Opencart plugin works by adding a modification to your Opencart product page that generates SEO-friendly links to all parent and subcategories for the product.

Before:

before

After:

after

Things to consider

This plugin was tested on both 2.3.0.2 & 3.0.2.0 with and without SEO URLs enabled (if SEO links are disabled in your admin, this plugin will still generate links to said categories/subcategories, but the URL structure will have the native querystring URLs, rather than the pretty /myproductname style path.)

To enable the pretty SEO URLs, go to: Settings -> Edit -> Server -> Enable SEO URLs

  • Make sure .htaccess.txt in the root directory of your site gets renamed to .htaccess (if on Apache)

  • This plugin was not tested in situations where a product is not attached to any categories.

Tested in PHP 7.2+

Note

You do not need to clone this repository to utilize the plugin, all you have to do is download the zip file.

You can also download it from the Open Cart Marketplace.

I included the source in this repository for those who like to review the codebase prior to using new code.