'WooCommerce product image filename in product title

I recently started a WooCommerce project for a photographer client. I installed the commercial WooCommerce Photography extension and the Product Add-Ons extension. The client wants to add the product image title (filename) to the name of the product. Is there a way to do it somehow?

The WooCommerce Photography extension creates individual products from the photos you upload. Every product has one photo as a product image.

Basically, what I want to achieve is to show the filename of the main product image inside the name of the generated product. As long as I have it in the order details page, I am good. Anyone with a similar experience?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source