customization – How to assign a custom field value (URL) to featured image for woocommerce products


I’m using wordpress automatic plugin to import envato products to WordPress.

But, the preview image on themeforest is not assigning as the featured image. I’m trying to import them as woocommerce affiliate products.

The external preview image URL can be assigned to a custom field when importing.

My question is, what would be the easiest method to assign the external preview image as the featured image.

I tried changing plugin settings, it only able to assign long banners as the featured image.
I also tried the ACF method, discussed here:

Tried to edit functions.php with suggested solutions, but no success.
My customer field value is: “product_image”.
enter image description here

Please help. I prefer to host the image on my server, yet no way to do so. So I’m trying to display an external image on my site.

Pubudu Madushan 1 year 2021-10-01T04:18:02-05:00 0 Answers 0 views 0

Leave an answer