I added asset field to commerce variant field layout.

What value do I need to set in field settings "Upload Location" field? I tried to use {slug}, {owner.slug} and {owner.owner.slug}, but I got this error each time:

The Dokumenty field’s Upload Location setting has an invalid subpath (“{owner.owner.slug}”).
  • so there is an actual asset volume defined before the location text input field? where do you want to save files in relation to that defined volume? – Matthias Apr 6 at 21:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.