SilverCart\Model\Product\Product::onBeforeWrite
- Adds some extended i18n handling for mirrored product groups.
- Changes the availability status if necessary. - Deletes shopping cart positions when changing to inactive. - Marks the product for cache refreshing if necessary.
- Author: Sascha Koehler <skoehler@pixeltricks.de>
Signature
public function onBeforeWrite()
Returns
- void