Support » Plugin: WooCommerce » Change downloadable item without affecting previous order

  • 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/

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘Change downloadable item without affecting previous order’ is closed to new replies.