- Posts: 424
- Thank you received: 11
delete button in downloadlist customer so they can delete downloaditems
- BluepointWebdesign
-
Topic Author
- Offline
Less
More
6 years 5 days ago #324326
by BluepointWebdesign
delete button in downloadlist customer so they can delete downloaditems was created by BluepointWebdesign
-- 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??
-- 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.
6 years 5 days ago #324345
by nicolas
Replied by nicolas on topic delete button in downloadlist customer so they can delete downloaditems
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.
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.151 seconds