In the download page, on the customer side (the page where customers can download the files for downloadable products), I am trying to add the product image next to every download item. However, I am having a problem in getting the product ID associated with each download.
In the database, I looked and found the table called "downloadable_link_purchased
" in which the product-name is being saved but not the product-id.
I do not really need the product_name, so can I somehow set the product_ID of each item in the same column? There is not even need to make a new column or rename the product_name column, I just require to fill the product_name column with the product_id instead. I hope I have been clear enough, if not, please let me know and I will be happy to provide more info, is there a way to achieve this?
Any help is greatly appreciated.