admin管理员组文章数量:1346036
The Block Checkout shows the quantity purchased in a circle over the image top. Customers keep asking about how many are in their order because they expect it as a line item, not an image. The overlaid image doesn't even state what that number is.
I understand the Block Checkout doesn't have a template for that because it's Javascript/React. I was able to add a custom field with this code in the header.
if (WC_Blocks_Utils::has_block_in_page(wc_get_page_id('checkout'), 'woocommerce/checkout')) {
add_action('woocommerce_init', function() {
woocommerce_register_additional_checkout_field (
...
I can hide the circle-quantity with css.
QUESTION: How can I add a row to the item with "Quantity: 2" (or how many the customer ordered).
本文标签: Change Woocommerce Block Checkout Item Quantity DisplayStack Overflow
版权声明:本文标题:Change Woocommerce Block Checkout Item Quantity Display - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743820725a2544738.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论