Posts

Showing posts from November 25, 2018

VSCode does not auto import any angular types with code actions

Image
up vote 0 down vote favorite I put this line in my component file: form: FormGroup; I click form group and then control + dot. I get: No code actions available Cant figure this one out. angular visual-studio-code share | improve this question asked Nov 18 at 20:42 Craig 182 13 looks like if you import from someplace once in another file all auto imports from that place will start working

How to remove the total row from cart and checkout

Image
up vote 1 down vote favorite 1 I would like to remove only total row on cart and checkout page not the whole block. I am not able to find any action or filter to remove the total i still want to leave the subtotal . I am using the code below but it hides the whole order block and also it does not remove it from the bill that is generated after checkout add_action( 'woocommerce_checkout_order_review', 'remove_checkout_totals', 1 ); function remove_checkout_totals() {remove_action( 'woocommerce_checkout_order_review', 'woocommerce_order_review', 10 );} php wordpress woocommerce cart share | improve this question asked Nov 18 at 2