silvershop / comparison
There is no license information available for the latest version (4.0.0) of this package.
Submodule for SilverShop which allows you to compare products in a table.
Package info
github.com/silvershop/silvershop-comparison
Type:silverstripe-vendormodule
pkg:composer/silvershop/comparison
4.0.0
2026-09-13 18:50 UTC
Requires
- php: ^8.1
- php-http/guzzle7-adapter: 1.x-dev
- silvershop/core: dev-main
Requires (Dev)
- cambis/silverstan: ^2.1
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^11
- squizlabs/php_codesniffer: ^3.8
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Detail specific features of each product, and then compare them in a dedicated interface.
Features
- Define product features, eg: weight, wifi
- Define values for features, eg: 100gm, yes
- Assign values to products
- Add / remove products from comparison page view
- Display a table showing product features side-by-side
- Group features together for displaying in groups
Installation
Require the submodule via composer, from site root:
composer require silvershop/comparison
This module's `main` branch targets Silverstripe 6 and SilverShop `dev-main`.
Running tests
vendor/bin/phpunit
Static analysis
composer phpstan
Include in Product template:
<% include ProductSpecifications %>
With grouping enabled:
<% include ProductSpecifications Grouping=1 %>
License
See LICENCE