PHPackages                             wmd/section-and-product-type - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. wmd/section-and-product-type

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

wmd/section-and-product-type
============================

If you buidling some Page content builder this can very usefull field type

2.0.8(2y ago)02.2k5MITPHPPHP ^8.0.2

Since Dec 23Pushed 2y ago1 watchersCompare

[ Source](https://github.com/wmdhosting/craft3-section-and-product-type-field)[ Packagist](https://packagist.org/packages/wmd/section-and-product-type)[ RSS](/packages/wmd-section-and-product-type/feed)WikiDiscussions main Synced 4w ago

READMEChangelog (10)Dependencies (1)Versions (12)Used By (0)

Section + Product Type plugin for Craft CMS 3.x
===============================================

[](#section--product-type-plugin-for-craft-cms-3x)

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 3.0.0-beta.23 or later.

Installation
------------

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require wmd/section-and-product-type

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Section And Product Type.

Section And Product Type Overview
---------------------------------

[](#section-and-product-type-overview)

The plugin is a field for selecting sections and types of commerce products.

Configuring Section And Product Type
------------------------------------

[](#configuring-section-and-product-type)

When you create fields with one of these types, you can choose which sections or product types will be available for selection. It is possible to enable multi-selection, which makes it possible to select several elements.

Using Section And Product Type
------------------------------

[](#using-section-and-product-type)

Steps:

1. Installing the plugin;
2. Creation and configuration of fields;
3. Add a field to the Entry Type of Section;

Usage in the template

```
{# section field #}

{% set sectionsIds = enty.mySectionField %}
{% set sections = craft.entries.sectionId(sections).all() %}

{% for section in sections %}
   {# code for output #}
{% endfor %}

{# product type field #}

{% set productTypeIds = enty.myProductTypeField %}
{% set products = craft.products().typeId(productTypeIds).all() %}

{% for product in products %}
       {# code for output #}
{% endfor %}

```

The plugin is based on the logic of the plugin , many thanks to the author.

Brought to you by [WMD Hosting](https://wmd.hosting/)

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 98.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~118 days

Recently: every ~80 days

Total

11

Last Release

774d ago

Major Versions

1.1.0 → 2.0.12022-10-25

PHP version history (2 changes)1.1.0PHP ^7.2.5|^8.0

2.0.1PHP ^8.0.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/54d5c9202f849bfbcea6cd0089a137c93f83d515386aebce9145c897973e87b3?d=identicon)[wmdhosting](/maintainers/wmdhosting)

---

Top Contributors

[![wmdhosting](https://avatars.githubusercontent.com/u/76176291?v=4)](https://github.com/wmdhosting "wmdhosting (62 commits)")[![jassok](https://avatars.githubusercontent.com/u/2117353?v=4)](https://github.com/jassok "jassok (1 commits)")

---

Tags

cmsCraftcraftcmscraft-pluginsection and product type

### Embed Badge

![Health badge](/badges/wmd-section-and-product-type/health.svg)

```
[![Health](https://phpackages.com/badges/wmd-section-and-product-type/health.svg)](https://phpackages.com/packages/wmd-section-and-product-type)
```

###  Alternatives

[verbb/navigation

Create navigation menus for your site.

90683.7k17](/packages/verbb-navigation)[verbb/formie

The most user-friendly forms plugin for Craft.

101372.9k40](/packages/verbb-formie)[verbb/comments

Add comments to your site.

13753.1k](/packages/verbb-comments)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)[supercool/tablemaker

Create customizable and user-defined table fields.

40141.7k](/packages/supercool-tablemaker)[pennebaker/craft-architect

CraftCMS plugin to generate content models from JSON/YAML data.

72148.5k5](/packages/pennebaker-craft-architect)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
