ImportAction with relationship not resolving
I get validation error "The selected classifiedCategory is invalid." in my failed queue. I have ClassifiedCategory and ClassifiedSubcategory models with 1:N relationship. I have classifiedCategory() relationship method in ClassifiedSubcategory model. Instead of using ID in CSV I am trying to resolve using slug. Below is the code.
Resolving using ID in CSV with below code works though
Resolving using ID in CSV with below code works though
1 Reply
BTW I did try originally this code but got same error.