I’m using WooCommerce for an online catalog. The Featured Image of the product is set to popup with image info (the main image). The downside is that it shows the ‘ALT’ info. on the top. I want the ‘Title’ info. to be on the top.
One solution could be to use JavaScript to replace the text with the value of the title attribute. If you decide to go that route, I’m sure some of the JavaScript experts here would be happy to guide you.
Obviously ‘title’ isn’t posting the actual title from the Media’s Meta. It’s posting the ‘Alt text’ from the Media’s Meta, and that’s wrong. So I guess the idea is to find the source script to fix this problem.
But when you find it on the source script, don’t change it there. Copy that file into a woocommerce directory inside your theme and make the changes there. That way you will be able to update the plugin to a new version without losing your changes.
I’m sorry, @toad78. I’ve been swamped with work and other things the past few days. Would you like me to move the thread to the JavaScript forum to see if you can get some help there?
By the way, the link to your .js file does not seem to be working for me.