Support » Plugins and Hacks » WooCommerce » Download Image Button For Download Links Not Working In 2.0
3 years, 9 months ago
Hi all any help please. In previous version of woocommerce I replaced the text link with an image to help the download be more visible to customers.
Since the upgrade to 2.0 the code no longer works
$download_file_urls = $order->get_downloadable_file_urls( $item['product_id'], $item['variation_id'] ) . '">' . __('<img src="/images/downloadbutton.png"/>', 'woocommerce') . '</a></small><br/>';
the code is added to:
and worked well before upgrade. any fix to make this work in 2.0?
(I also tried adding it to the theme’s orderdetails to no avail)