ivoba-oxid/split-category-desc

Split category description module for Oxid eShop v6

1.0.1 2021-01-26 11:46 UTC

This package is auto-updated.

Last update: 2024-03-26 19:02:22 UTC


README

Split your category description by a ###more### token and show description above and below the product list.

Installation

composer require ivoba-oxid/split-category-desc

Usage

In "Erweiterungen -> Module -> Ivo Bathke: Split Category Desc" enter your settings in the "Settings" tab

In the long description field (Langtext) of the category enter a line with ###more### to split the description.
The text before ###more### will be shown above the product list.
The text after ###more### will be shown below the product list.
A read more button will be added at the upper text that will jump to the text below the list.

Why?

For SEO and design purposes :)

Note:

oxcategories__oxlongdesc will be overwritten with the part before the token.
Use $actCat->getLongDesc() for the full long description.

Requirements

  • UTF-8
  • PHP >= 7
  • Oxid eShop >= CE 6

License MIT

© Ivo Bathke