WordPress.org

Forums

The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. WeddingAlbumCafe
    Member
    Posted 3 years 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

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

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