I want to add a custom column for "Installation Charges" inside cart items. This is going to be different installation charges for every product. I can pass that to cart using woocommerce_add_cart_item_data action hook. But how do I add the separate column to show these installation charges in cart?
Attached is a screenshot mockup of how it needs to be built.
I want to add a custom column for "Installation Charges" inside cart items. This is going to be different installation charges for every product. I can pass that to cart using woocommerce_add_cart_item_data action hook. But how do I add the separate column to show these installation charges in cart?
Attached is a screenshot mockup of how it needs to be built.
Overwrite the WooCommerce template in your theme. The documentation for this can be found at https://docs.woocommerce/document/template-structure/
The file you're looking to overwrite is wp-content/woocommerce/templates/cart/cart.php