Support » Plugin: WooCommerce » Download Image Button For Download Links Not Working In 2.0

  • 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:
    /wp-content/plugins/woocommerce/templates/order/orderdetails.php
    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)

    http://wordpress.org/extend/plugins/woocommerce/

  • The topic ‘Download Image Button For Download Links Not Working In 2.0’ is closed to new replies.