AH
if($product->created_at > Carbon::now()->subMonths(4))
if($product->created_at->lt(now()->subMonths(4)))
первая строка - твой код
вторая - мой
Size: a a a
AH
if($product->created_at > Carbon::now()->subMonths(4))
if($product->created_at->lt(now()->subMonths(4)))
ИЛ
if($product->created_at > now()->subMonths(4))
ИЛ
ИЛ
AH
AH
if($product->created_at > now()->subMonths(4))
ИЛ
ИЛ
ИЛ
ИЛ
ИЛ
ИЛ
AH
ИЛ
A
ИЛ
AH
lt
- доgt
- послеlte
- до или равноgte
- после или равно