What is the difference of addAttributeToFilter() Vs addFieldToFilter()?
addAttributeToFilter()
is used to filter EAV collections.
addFieldToFilter()
is used to filter Non-EAV collections.
addAttributeToFilter()
is used to filter EAV collections.
addFieldToFilter()
is used to filter Non-EAV collections.