Giter Site home page Giter Site logo

angela-d / opencart-parent-breadcrumb-category Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 5.0 83 KB

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

Home Page: https://notabug.org/angela/opencart-parent-breadcrumb-category

License: GNU General Public License v3.0

PHP 100.00%
opencart opencart-2x opencart-3x opencart-extension opencart-plugin seo php php7

opencart-parent-breadcrumb-category's Introduction

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


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.

opencart-parent-breadcrumb-category's People

Contributors

angela-d avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.