This code enables you to add product images using Advanced Custom Fields. You can add a unique product image on any Edit Product screen using ACF.
Watch Demo Video #
Tested using the Lifestyle Pro child theme by StudioPress however will work in any Genesis child theme or non Genesis theme.
Displays your image as the product image when added on the Edit Product screen using the ACF image field. When none added, displays the placeholder image.
Installation #
There’s 2 steps :
Step 1 : Add the PHP code from the download folder to the end of your child themes functions file .
Register or login to access the download folder :
Step 2 : Using ACF ( Free or Premium version ), create a new field named wc_product_image using the settings you see in the following screenshot :
Leave a Reply
You must be logged in to post a comment.