Custom Woocommerce Shortcode based on Purchase
i am a newbie in wordpress and woocommerce and now i have a project that i used elementor to build it and now i need to add a button that i want to show if the user bought a specefic product and hide when the user didnt buy the product.
i found a solution in elementor that i can add this kind of if with shortcode. what kind of shortcode can i use or how can i creat my own customized shortcode
thaks in advance