This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version.
DateTimeAttributeRange criterion¶
The DateTimeAttributeRange Search Criterion
searches for products by value of a specified attribute, which must be based on the date and time attribute type.
Arguments¶
identifier
- attribute's identifier (string)min
- lower range value (inclusive) of DateTimeImmutable type. Optional.max
- upper range value (inclusive) of DateTimeImmutable type. Optional.
Example¶
PHP¶
The following example lists all products for which the event_date
attribute has value greater than 2025-01-01.
1 2 3 4 5 6 7 8 9 10 |
|