WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. contremaitre
    Member
    Posted 3 months 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 3 months 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.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.