admin管理员组文章数量:1124166
I am currently developing a small block for WordPress/WooCommerce and now I have a problem that I can't solve easily.
To summarize:
I am looking for a way to update my block in the frontend when changes have been made in the cart block (e.g. the user increases the number of a product in the shopping cart).
My block is currently set up as a server-side render block and the corresponding markup is generated by PHP via render_callback
and then output.
Is there a way to update the block in the frontend after an event from the cart block? And if not, what methods would there be to reach the target?
Thanks in advance.
Cheers
本文标签: javascriptUpdate a serverside render Block when woocommerce cart block changed
版权声明:本文标题:javascript - Update a server-side render Block when woocommerce cart block changed 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736617601a1945505.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论