How to have instead off payment pending, on hold ?
-
Hello,
How to have instead off payment pending, the status on hold ?
Or better create a “quote” status
Thank you for your help
I tried do to it in the file by modify true by false
public function qwc_cart_needs_payment( $needs_payment, $cart ) { if ( ! $needs_payment ) { foreach ( $cart->cart_contents as $cart_item ) { $requires_quotes = product_quote_enabled( $cart_item['product_id'] ); if ( $requires_quotes ) { $needs_payment = false; break; } } } return $needs_payment; }
It worked but after that we can’t modify the price
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to have instead off payment pending, on hold ?’ is closed to new replies.