fond-of-spryker/special-price-product

Spryker Product special price

1.0.3 2019-11-29 08:03 UTC

This package is auto-updated.

Last update: 2022-05-05 14:08:57 UTC


README

Build Status PHP from Travis config license

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';