WordPress.org

Forums

WooCommerce - excelling eCommerce
Change downloadable item without affecting previous order (2 posts)

  1. contremaitre
    Member
    Posted 1 year ago #

    Hi,
    When you change a downloadable item on a product you have two choices :
    - Delete the current item, and add a new one.
    In this case previous orders will have their download permission removed.

    - Replace the current item
    In this case the previous orders will have access to the new product.

    How can I change the item without affecting previous orders ?

    Thanks

    https://wordpress.org/plugins/woocommerce/

  2. contremaitre
    Member
    Posted 1 year ago #

    I see there is a filter to change the behaviour :
    woocommerce_process_product_file_download_paths_remove_access_to_old_file

    But is does not work because when a file is removed from a product, the user can't access it anymore even if the download permission is not deleted thanks to this filter.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.