wearejh/m2-module-landing-categories

There is no license information available for the latest version (1.1.1) of this package.

Landing Categories for Magento 2

Installs: 24

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 7

Forks: 0

Open Issues: 0

Type:magento2-module

pkg:composer/wearejh/m2-module-landing-categories

1.1.1 2019-05-08 14:40 UTC

This package is auto-updated.

Last update: 2025-10-01 07:36:39 UTC


README

This module adds the ability to have a different page layout for landing categories.

It also adds the ability to add widgets to specific landing category pages.

How to use

Set a category as landing

In the admin panel, on the category create/edit page, under display settings, set the Display Mode to "Landing Category"

A custom handle jh_category_landing will be loaded on that category page. Add your customizations to category landing page in that layout handle.

Add Widgets to a specific category page or to all of them

In the admin panel, on the add/edit a widget page, under Layout Updates, set Display on as "Landing Categories", then choose a specific category or check the "all" radio button.

(Add your own display modes - from version 1.1.0)

To add your own display modes:

  • Add this module as a dependency in your own module
  • Create a landing_categories.xml within your etc folder of your module
<?xml version="1.0"?>
<config>
    <view name="jh_test" label="A Double Page" layout="jh_test_layout" /><view name="jh_test2" label="Another Landing Page" layout="jh_mest_layout" />
</config>

Installation

Add the following to your repositories key in your composer.json file:

{
	"type": "vcs",
	"url": "git@github.com:WeareJH/m2-module-landing-categories.git"
}        

Run composer require wearejh/m2-module-landing-categories