burnbright / silverstripe-shop-comparison
There is no license information available for the latest version (3.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/burnbright/silverstripe-shop-comparison
3.0.0
2025-06-16 22:09 UTC
Requires
- silvershop/core: ^4
Requires (Dev)
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.0
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