burnbright / silverstripe-shop-coloredvariations
This package is abandoned and no longer maintained.
The author suggests using the silvershop/coloredvariations package instead.
Add color support to variations for SilverShop.
Package info
github.com/silvershop/silvershop-coloredvariations
Type:silverstripe-vendormodule
pkg:composer/burnbright/silverstripe-shop-coloredvariations
3.0.0
2024-02-20 10:56 UTC
Requires
- silvershop/core: ^4
Requires (Dev)
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.0
README
Choose colors for variation attributes, allowing for display of color swatches.
The module also introduces the ability to add many images to a product, and assign each image to a specific color.
Requirements
- PHP 8.3+
- SilverShop Core 6.x / Silverstripe CMS 6.x
Installation
composer require silvershop/coloredvariations
Development
composer test
composer stan
Add the color swatches template to your templates/Layout/Product.ss template:
<% include ColorSwatches %>
License
BSD-2