Setting a default vendor file attachment attribute


I tried adding a default picture for a Vendor attachment attribute and used the code I found on this forum, but it doesn’t seem to work. Am I missing something?
Thank you.

my bad, I guess I have to insert an uploaded media ID instead of an URL, right?


Yes, you first need to get a vendor ID and then save it.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.