featured product image and gallery images custom field name

WP Intense Q & ACategory: External Imagesfeatured product image and gallery images custom field name
a siddique asked 2 months ago

hi

i have purchased external images and when im trying to upload my csv via wpallimport i cant seem to find the field name for featured product image and for gallery images. what are the field name for these?

1 Answers
Dave Hilditch Staff answered 1 month ago

There are some options to cater for how people have their imports set up. The below are all Custom Meta fields, i.e. they end up in wp_postmeta. You may need to name the meta field.

  • external_image_url – you can import the featured image and the image galleries here. The first image is the featured image, subsequent images (separated by | pipe) are treated as gallery images
  • gallery_urls – you can import your gallery image URLs here if you wish, instead of putting everything in the external_image_url field

That’s all you need to know really – if you’re dealing with variations, the same applies – load the variation custom post meta field of external_image_url and optionally gallery_urls with | pipe separated image URLs.

We use cookies

We use cookies for various things on our site, including our on-site chat bubble (if you use it), our comment forms (if you use them) and for session handling (if you log in).

Other than that, we use cookies to identify where traffic came from to help us understand which traffic turns into sales, we use a cookie for Google Analytics traffic analysis and we use a cookie to customise adverts for our own products we think you'll be interested in.

You can read more detail in our privacy policy page. Please click 'Accept' or 'Decline' to continue.