PHPackages                             markguinn/silverstripe-related\_products - 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. markguinn/silverstripe-related\_products

ActiveSilverstripe-module[Utility &amp; Helpers](/categories/utility)

markguinn/silverstripe-related\_products
========================================

Submodule for Silverstripe shop/ecommerce which allows you to specify related products for any Buyable.

1.0.1(11y ago)32.1k3MITPHP

Since Aug 14Pushed 10y ago1 watchersCompare

[ Source](https://github.com/markguinn/silverstripe-related_products)[ Packagist](https://packagist.org/packages/markguinn/silverstripe-related_products)[ RSS](/packages/markguinn-silverstripe-related-products/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (3)Dependencies (3)Versions (7)Used By (0)

Related Projects Submodule for Silverstripe Shop
================================================

[](#related-projects-submodule-for-silverstripe-shop)

Allows you to specify related products for any Buyable.

USAGE:
------

[](#usage)

Install module via composer (markguinn/silverstripe-related\_products) or the old-fashioned way.

Duplicate or modify the following to apply to any other buyable models you're using.

```
BuyableClass:
  extensions:
    - HasRelatedProducts

```

Add the following to your `Product.ss` template:

```

```

INSTALL FOLDER:
---------------

[](#install-folder)

Default install folder is related\_products. If you would like install to ecommerce\_related\_products use dev-ecommerce and likewise for shop\_related\_products use dev-shop.

Run dev/build?flush=1 to update your database.

TODO:
-----

[](#todo)

- Would be cool to have default settings to generate related products from categories and/or search terms

DEVELOPERS:
-----------

[](#developers)

- Mark Guinn -

Pull requests welcome.

LICENSE (MIT):
--------------

[](#license-mit)

Copyright (c) 2013 Mark Guinn

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~204 days

Total

3

Last Release

4195d ago

Major Versions

0.1.0 → 1.0.02014-11-17

### Community

Maintainers

![](https://www.gravatar.com/avatar/485dfc9fc93cad085c83c3276f19b6e9322ee910ab0e1685de0db42228dbf97b?d=identicon)[markguinn](/maintainers/markguinn)

---

Top Contributors

[![jedateach](https://avatars.githubusercontent.com/u/1356335?v=4)](https://github.com/jedateach "jedateach (4 commits)")

---

Tags

silverstripeecommerce

### Embed Badge

![Health badge](/badges/markguinn-silverstripe-related-products/health.svg)

```
[![Health](https://phpackages.com/badges/markguinn-silverstripe-related-products/health.svg)](https://phpackages.com/packages/markguinn-silverstripe-related-products)
```

###  Alternatives

[symbiote/silverstripe-advancedworkflow

Adds configurable workflow support to the CMS, with a GUI for creating custom workflow definitions.

46302.4k9](/packages/symbiote-silverstripe-advancedworkflow)

PHPackages © 2026

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