I understand that the Flashlight theme uses post meta to store information about the images that display on the single product page. I am migrating over from a different theme, and all of my images are already uploaded. Is there a way to somehow use the Product CSV importer in conjunction with database SQL magic to link up these images? I switched over to the new theme, and I love it aesthetically, but all of my products do not have images showing. Under the Featured Image area, all of my product images are arranged in the previous galleries, but I cannot use those and have to use the new uploader (that only lets you select from computer). I understand this is an older issue, and I have read through all previous posts, hopefully I'm providing some newer insight.
I did some digging around, and I think this is the flow:
1a. List a product (new products using the avia framework). This creates a unique post_id under "posts" table. In postmeta table, the same post_id is associated with a unique meta_value.
1b. Old items being migrated do not have this entry created under "postmeta"
2a. Another entry is created in "posts" with a unique ID (different from post_id), but has a value called post_title (styled: "avia_smart_gallery_of_post_meta_value"). This meta_value links this to the post_id.
2b. Old items being migrated do not have this entry created under "posts"
3. When images are added, unique entries are created under "posts" with unique ID (different from above ID and post_id). post_parent value links this image entry to step 2.
Thus in a roundabout way, the image (step 3) is linked to an custom-created (and seemingly unnecessary - please feel free to bash me later about this) identifier in post_meta (step 2) that is then linked to the post_id in "posts" (step 1).
The trouble here is I don't want to manually create these separate entries (steps 1b and 2b) for each item that existed previously to link the images (step 3).
Can anything be done to help speed up this migration? Why on earth did kriesi do it this way (sorry bro had to call you out on this one, the rest of the theme is beautiful though)?