admin管理员组文章数量:1022874
I am new in Wordpress so need help... I want to show confirm popup with the button "Yes" and "No" when user clicks on Add to Cart. after selecting "Yes" on confirm Popup, add a product to cart. If user select "No" the close confirm popup and do nothing. Also, I want to show product data filed value on confirm popup body section.
Update: i already try with hook(woocommerce_add_to_cart_validation) and some javascript but not able to get it.
Thanks in Advanced...
I am new in Wordpress so need help... I want to show confirm popup with the button "Yes" and "No" when user clicks on Add to Cart. after selecting "Yes" on confirm Popup, add a product to cart. If user select "No" the close confirm popup and do nothing. Also, I want to show product data filed value on confirm popup body section.
Update: i already try with hook(woocommerce_add_to_cart_validation) and some javascript but not able to get it.
Thanks in Advanced...
本文标签:
版权声明:本文标题:plugin development - want to confirm popup with "Yes" and "No" button when user click on add 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745575297a2156980.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论