/silvershop-comparison

Submodule for the SilverStripe shop to allow comparing products side-by-side. Also introduces a model for detailed specifications.

Primary LanguagePHPBSD 2-Clause "Simplified" LicenseBSD-2-Clause

SilverStripe Shop Comparison Module

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

Include in Product template:

<% include ProductSpecifications %>

With grouping enabled:

<% include ProductSpecifications Grouping=1 %>

License

See LICENCE