Hi @elrayes!
Thank you for reaching out.
There is no option in WooCommerce core to achieve what you want; you would need a plugin or custom coding.
Searching, I found an article with some code that could be helpful to your case:
https://stackoverflow.com/questions/52082898/how-can-i-show-download-link-on-product-page
It will add a download link on the product page if the user has already bought the product.
”)
Image URL: https://i.ibb.co/db6tdtq/nmafdmn.png
You can use a plugin like Code Snippets to add this code without having to edit your PHP code.
I hope this helps!
that good
but why user has already buy that
add to cart is showing
i mean it should not visible when download like is active
Hi @elrayes
i mean it should not visible when download like is active
This functionality isn’t available by default either. You can however apply another custom snippet like below to hide the add to cart button if purchased already:
https://www.businessbloomer.com/woocommerce-hide-add-to-cart-if-already-purchased/