delete button in downloadlist customer so they can delete downloaditems

  • Posts: 410
  • Thank you received: 9
  • Hikaserial Subscription Hikashop Business
4 years 1 month ago #324326

-- url of the page with the problem -- : htttps://07.bluepoint-concept.nl
-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.21
-- PHP version -- : 7.3
-- Error-message(debug-mod must be tuned on) -- : no error just a question

Hello,

Is it possible to configure a button to make it possible so a customer can delete certain bought downloadproducts from their downloadlist .
And how can i do that??

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
4 years 1 month ago #324345

Hi,

There is no option to do that.
It would actually be hard to do as the list is constructed dynamically based on the orders of the customer, their products, and the files of these products.
So there is no entry you can delete to remove a line from that list since you don't want to allow the customer to delete the order, or the product in the order, or the product, or the file in the product.
Thus, that means it would require adding a new table in the database to store the downloads, add some code when the order is created to add the entries in it, redo the listing to base itself on that table instead of generating the listing dynamically, and then you could add the delete button.
Basically, it's a lot of work to allow for that.

Please Log in or Create an account to join the conversation.

Time to create page: 0.042 seconds
Powered by Kunena Forum