fond-of-spryker / special-price-product
Spryker Product special price
Installs: 17 934
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Requires
- php: >=7.1
- spryker/kernel: ^3.0.0
Requires (Dev)
- codeception/codeception: ^2.3
- mikey179/vfsstream: ^1.6
- phpro/grumphp: ^0.14
- sebastian/phpcpd: ^4.0
- spryker/code-sniffer: ^0.11
- spryker/development: ^3.6
This package is auto-updated.
Last update: 2024-12-05 19:42:41 UTC
README
This extension makes it possible to use special price for the products. For The Special Price and Date Values the extension uses Product Attributes. The attributes needs to be defined in the Projects Configuration File
Installation
composer require fond-of-spryker/special-price-product
1. Add the Attributes in the configuration file
// ---------- SPECIAL PRICE PRODUCT
$config[SpecialPriceProductConstants::ATTRIBUTE_SPECIAL_PRICE] = 'special_price';
$config[SpecialPriceProductConstants::ATTRIBUTE_SPECIAL_PRICE_FROM] = 'special_price_from';
$config[SpecialPriceProductConstants::ATTRIBUTE_SPECIAL_PRICE_TO] = 'special_price_to';