d3yii2 / d3product
There is no license information available for the latest version (dev-master) of this package.
Products
dev-master
2026-10-14 19:29 UTC
Requires
- yiisoft/yii2: *
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-14 19:30:04 UTC
README
#Products"
Features
Installation
The preferred way to install this extension is through composer.
Either run
$ composer require d3yii2/d3product "*"
or add
"d3yii2/d3product": "*"
to the require section of your composer.json file.
Methods
Usage
Product prices support four decimal places, such as 0.0220 EUR, through
D3productPrice validation. Apply
m261013_152416_d3yii2_d3product_price_precision from this package's migration
path before storing these prices. The migration changes d3product_price.price
to unsigned DECIMAL(12,4), preserving the existing eight-digit integer range.
It cannot be reverted because reducing precision could round stored prices.