Overwrite / add to function download pdf product
-
Hi
I have created a hack, so it is possible to sell PDF files which get stamped with coustomer information and get a password (customer email).
I have done the hack direct in the core file woocommerce-functions.php (the function woocommerce_download_product() )
I would like to hear if it is possible to do the changes / overwrite the function in a more elegant way, because next time woocommerce get updated the changes would be lost.
My plan are to create it as a free plugin / extention / modification.
Anybody there can help?
Best Regards
Jesper Vels
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Overwrite / add to function download pdf product’ is closed to new replies.