Log in
Model

Startdate

Magento\Catalog\Model\Attribute\Backend\Startdate

What it does

This backend model handles the 'special price from date' attribute for catalog products.

It validates that the start date doesn't exceed the end date (special_to_date) and prepares the date value before saving to ensure data integrity.

Developers would extend or reference this class when customizing special price date validation logic or implementing similar date-range attributes.

Public Methods

  • beforeSave()
  • validate()