WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Download Image Button For Download Links Not Working In 2.0 (1 post)

  1. WeddingAlbumCafe
    Member
    Posted 1 year 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:
    /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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 1 year ago by WeddingAlbumCafe
  • This topic is not resolved
  • WordPress version: 3.5.1