M
M
Maxim Gribov2021-09-03 11:10:37
WordPress
Maxim Gribov, 2021-09-03 11:10:37

How to move the file download handler to another button on another page?

WordPress platform, used by woocommerce. Products in woocommerce are virtual and downloadable. In the user's personal account in the "Downloads" section, the product (questionnaire) and the number of downloads (standard functionality) are displayed. By clicking on the download button, you are redirected to the site page with a form that you need to fill out.
The essence of the question: where to find the "download" button handler (or whatever it is called), which minus the number of available downloads, in order to transfer it to the page with the form on the "submit" button? Or how to transfer it? So that when opening the form (by clicking on the link "Download" or LC "Downloads"), the number of downloads is not taken away from the user, but after filling out and sending it, the available downloads are minus?
6131d8044fd67742502977.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question