I'm using using the WooCommerce plugin for WordPress to display my products. The thing is, when you are viewing the product category (archive), you can see the product name, image and price, but that doesn't really say all that much about exactly what the product is.
What I would like is for some more information to become available when you hover the product images. Something a bit like <a href="http://shop.herriottgrace.com" rel="nofollow">this</a>. Would it be possible to retrieve some of the information about the image, that I can enter in the WordPress media libray: title, caption alt text or description?
You can check the webshop <a href="http://renservice.dk/produkt-kategori/universalrengoering" rel="nofollow">here</a>.
I found that editing the content-product.php file in the WooCommerce plugin folder, if I put this:
?> random text <?php
somewhere inside the php tags in the
<li> section of that file, I could get 'random text' to show either above or below the product image on the product archive page. So, if I could replace that with a function that would retreive for instance the product image caption or some custom field that I can fill out for each product, that would go a long way towards solving the issue.
So, if anyone knows of a function that does this, please share it here.