AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: MGBReg on August 07, 2019, 04:19:15 PM

Title: Remove unavailable Downloads
Post by: MGBReg on August 07, 2019, 04:19:15 PM
Hi,
is there a way of removing unavailable downloads from a customer?

I have removed or changed the file - new one shows in customer account but so does the old one and shows as unavailable.

I would like to remove this. I can see the same file in the admin of the customer
    
download/18/7e/0.pdf       
   
   
Missing File

any Ideas how I can achieve this.

Thanks in advance
Paul
Title: Re: Remove unavailable Downloads
Post by: Basara on August 08, 2019, 01:05:58 AM
Hello
Try to push your changes in the order. Admin > Sales > Orders > Edit order > Files tab
Title: Re: Remove unavailable Downloads
Post by: MGBReg on August 08, 2019, 03:24:07 AM
Hi Basara,
I can push new downloads or updated downloads with no issues.

If I delete a download i want to remove it totally, if that makes sense.

If I delete the order of a download for a customer the file still shows in the customer downloads. It was a practise order, back end shows the file as missing but can I remove all record? Or is this a database edit?

Thanks
Paul
Title: Re: Remove unavailable Downloads
Post by: Basara on August 08, 2019, 03:26:04 AM
If you delete order but customer still see download that may be an issue. I will check and report to dev team if confirm
Title: Re: Remove unavailable Downloads
Post by: Basara on August 08, 2019, 03:30:55 AM
I am check and cant replicate the issue. If order removed than no downloads available for customer.
Do you have latest AbanteCart version? What is conditions in Download to activate?
Title: Re: Remove unavailable Downloads
Post by: MGBReg on August 08, 2019, 06:00:50 AM
Thanks for the quick reply.
Latest version

Download after completed order status or manual

I can still see remains of deleted orders in customer downloads area. The downloads have also been deleted but still show in the admin panel via orders order files.

TAI
Paul
Title: Re: Remove unavailable Downloads
Post by: Basara on August 08, 2019, 06:15:54 AM
Please try to clear AbanteCart cache. And if issue is visible check the error log for any warnings/errors
Title: Re: Remove unavailable Downloads
Post by: MGBReg on August 08, 2019, 06:26:40 AM
Cleared Cache yesterday still showing.

Just been into phpadmin.

Order_downloads

Found the old deleted orders - removed the lines showing the info I do not want. Deleted them and they are nolonger showing.

So deleting the order does not remove this data

TIA
Paul