I wished to configure a WordPress e-commerce website using the popular WooCommerce plugin to take orders only, without taking payment.
I have previously used WooCommerce for product brochure management, hiding the prices to remove the shopping basket.
WooCommerce was to be used as a product brochure with an order created listing the product items and quantity.
Payment, order fulfillment and tracking would be made otherwise.
I considered the use of cash on delivery (cod) but found this neat snippet which is added in the functions.php file
add_filter('woocommerce_cart_needs_payment', '__return_false');
This allows the prices to be left in place.
An order is created in the usual way. At the end the order is completed and details emailed to the website owner, but no monetary transaction implemented.
I also removed all but cash on delivery (COD) from the payment gateways.


