Introduction

This modifier will help you add text, banner or HTML code at the bottom of the category pages, which will differ from the description of the default categories.

  • The modifier adds an additional text field in the Admin Panel when adding a new category or editing an existing one;
  • It has a visual editor of HTML, so that you may use HTML tags for SEO;
  • An additional description will be displayed at the bottom of the product list;
  • Multilanguage;
  • For mobile and tablet devices, the additional description is hidden, but it has a button «Show Description / Hide Description»;
  • It has the function to hide the description with 2+ category pages;
  • Description and for additional description it is possible to hide a long description with the appearance of «Show Description / Hide Description»;
  • Settings for the standard description and additional description for each category item.

Compatibility of versions of OpenCart

Opencart
2.3.0.2
2.3.0.1
2.3.0.0
2.2.0.0
2.1.0.2
2.1.0.1
2.0.3.1
2.0.2.0
2.0.1.1
2.0.1.0

Opencart.pro
2.3.0.2.x
2.1.0.2.x
2.1.0.1.x
2.0.3.1

ocStore
2.3.0.2.2
2.3.0.2.1
2.3.0.2
2.1.0.2.1
2.1.0.2
2.1.0.1.1
2.1.0.1

Compatible templates


Default
XDS Coloring Theme v1.3.7.2 / v1.6.1
Journal Theme v2.7.6 - v2.9.5

Installation

Installation of the modifier consists of two parts. In each folder «Opencart v2.x» you will find two folders: «Step-1-Administration» и «Step-2-Templates».

  1. In the folder «Step-1-Administration» is the archive «extra_description_category_backend.ocmod.zip» which contains the main functional, localization and scripts.
  2. In the folder «Step-2-Templates» Find a list of modifiers for your template. The list will gradually be replenished for popular templates.


Step 1

  1. In the admin panel, go to «Extensions > Extension Installer» and install the file «extra_description_category_backend.ocmod.zip»;
  2. After the message of the successful installation in the «Extensions > Modifications» and click on the blue «Refresh» button (top right corner) See example;
  3. If the functionality does not appear, check the error log.

In the archive is a SQL file. If the database prefix is different from the standard one «oc_», then before the installation, extract the file «install.sql» and replace the prefix with a text editor «oc_» on your prefix, then upload the file back to the archive.



Step 2

Select the desired modifier from the folder «Step-2-Templates» and follow these steps:

  1. In the admin panel, go to «Extensions > Extension Installer» and install the file «extra_description_category_frontend.ocmod.xml» for your template;
  2. After the message of the successful installation in the «Extensions > Modifications» and click on the blue «Refresh» button (top right corner) See example;
  3. If the functionality does not appear, check the error log.

Settings

For each category description, there are your settings to go to: «Catalog > Categories > Your category» inside go to the «Design» tab, there you will find the settings:

  • Read more «Expand / Collapse» - Enable / disable separator;
  • The height of the visible part of the text - The height of the block of the visible description. The value is specified in pixels;
  • Hide description with 2+ pages - Shows the description only on the first page of the category;
  • Button «Read more» (Mobile) - For phones and tablets, an additional description is hidden completely and only the «Show Description» button is shown.

Design

If the standard design does not fit into your website design, you can modify the CSS styles in the «readmore.css», file that is located:

catalog \ view \ javascript \ jquery \ readmore \ readmore.css

Language

The modifier has full support for several languages. English and Russian are installed by default.
Below you will find instructions on how to add and translate a modifier into your language.

Depending on the version of OpenCart, the folder may be called «english» or «en-gb»



Admin-panel:

  • Copy the file «extra_category_description.php» from the folder:

    admin \ language \ russian \ catalog \ extra_category_description.php

  • Paste into the folder and then transfer the contents of the file:

    admin \ language \ YOUR_LANGUAGE \ catalog \ extra_category_description.php



Store Front:

  • Copy the file «extra_category_description.php» from the folder:

    catalog \ language \ russian \ product \ extra_category_description.php

  • Paste into the folder and then transfer the contents of the file:

    catalog \ language \ YOUR_LANGUAGE \ product \ extra_category_description.php

Changelog
  • v4.001.05.2017

    Latest release

    • Combining v3.1 and v3.2.1 into a single version;
    • Optimized code for working on assemblies Opencart / Opencart.pro / ocStore;
    • Works with version 2.0.1.0 and higher;
    • The modifier is divided into BackEnd and FrontEnd;
    • Language localization is made in a separate file;
    • Updated Readmore.js to v2.2.0;
    • Template support XDS Coloring Theme v1.3.7.2 / v1.6.1;
    • Template support Journal Theme v2.7.6 - v2.9.5
  • v3.2.101.08.2016
    • Bug fixes;
    • Added support 2.3.0.x;
    • Language localization is made in a separate file.
  • v3.215.05.2016
    • For OpenCart 2.2.0.0
  • v3.101.06.2016
    • Work in the modifier assembly Opencart.pro;
    • Work in the modifier assembly ocStore;
    • Separator «Expand/Collapse» for description and further description;​
    • Function hide descriptions and images in this category with 2+ pages;
    • Setting the delimiter «Expand/Collapse»;
    • Added a css and js;
    • Button «Show description» for a further description of the mobile version​;
    • Optimized code.
  • v2.207.03.2016
    • For OpenCart 2.2.0.0
  • v2.125.02.2016
    • Added: Button «Hide/Show description» mobile and table adaptation​;
    • Added: Function to hide the description of the category with 2+ pages;
    • Fixed minor bugs.
  • v2.019.02.2016
    • The initial version.

Dear Clients!

Before you write, please read the documentation.
If you still have questions left, then leave your request and the developer will contact you within 48 hours.


Contacts

You can send your message to us on the mail or leave your message in the social network.

VK