WooCommerce | Display Attribute Value on Product Image

Job ID: 32497948

Budget: $10 – $30 AUD

Hi there,

I have a small PHP function which currently calls back the values from an attribute and displays them in the product archive loop.

This is working perfectly fine, but it looks a bit messy if a product does not contain an attribute.

To fix this I would like to display the attribute values on the "top right" of the product image.

I suspect it will only require a minor template edit and positioning with CSS, but I do not have the time to spend working this out.

I have attached a screenshot of what we require.
Related categories: PHP WordPress CSS HTML WooCommerce