Are you referring to this: http://cld.wthms.co/sPYvDs ?
That is the product image. You can set it by editing the product. Hiding it will require some custom code as pretty much all themes will show product images.
You can add a image to the placeholder/product within the right side of your product page.
You can change the placeholder like this: add this code to your function.php
/**
* Change placeholder.
*/
add_action( ‘init’, ‘custom_fix_thumbnail’ );
function custom_fix_thumbnail() {
add_filter(‘woocommerce_placeholder_img_src’, ‘custom_woocommerce_placeholder_img_src’);
function custom_woocommerce_placeholder_img_src( $src ) {
$src = get_template_directory_uri() . ‘/placeholder.png’;
return $src;
}
}
And drop a custom placeholder image in your theme named: placeholder.png
If you want to remove the placeholder add this to your css:
img.woocommerce-placeholder.wp-post-image {
display:none;
}
Hello Caleb and phj123,
Yes, the image that Caleb provided > http://cld.wthms.co/sPYvDs is exactly what I am referring to.
phj123 > please pardon my ignorance – I just want to remove the placeholder.
For this I should add
img.woocommerce-placeholder.wp-post-image {
display:none;
}
to my CSS << correct??
Thank you both
Hello Caleb and phj123,
What confuses me is that I have added images inside the description of each product.
Is that not the Product Image??
If not, where is it that I add a product image?
OK – I did find where to set the product image.
NP
Remaining question is for phj123
What did you mean by “Change the placeholder”??
Change the placeholder in what way?
Change its location?
Change its size?
Thank you so much
J
The first set of code they posted was for changing the default placeholder image.
I think you are good now that you know how to add a product image though 🙂