Display additional information in cart page instead of checkout page

大憨熊 提交于 2019-12-08 09:58:48

问题


I created an eCommerce using the plugin woocommerce.
I need to get a few information from user before checkout, so used the WooCommerce Checkout Manager plugin and its working.

But this is displaying the additional information in checkout page.I need it to display it in cart page so that the user can proceed to checkout after filling the required informations like a feedback one.

How can i code it to display in cart page instead of checkout page?
Any help please


回答1:


You will need to hook into one of the following woocommerce functions depending on where you want the content to show on the cart:

woocommerce_after_cart
woocommerce_before_cart
woocommerce_before_cart_table
woocommerce_after_cart_table

I hope this helps and puts you in the right direction!



来源:https://stackoverflow.com/questions/23709826/display-additional-information-in-cart-page-instead-of-checkout-page

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!