Removing all fields from checkout page
-
Hi, I wanted to remove everything from the checkout page so all that is left is the product details and place order button.
So far with the help of this code
`add_filter( ‘woocommerce_checkout_fields’ , ‘remove_billing_fields_from_checkout’ );
function remove_billing_fields_from_checkout( $fields ) {
$fields[ ‘billing’ ] = array();
return $fields;
}`from this forum I was able to remove the billing details but not the rest (see screenshot).
ScreenshotCan someone help me with a snippet to remove the rest so the product detail table and place order button will shift to the left.
Thankyou.
Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
- The topic ‘Removing all fields from checkout page’ is closed to new replies.