remove unnecessary code
This commit is contained in:
@@ -34,8 +34,6 @@ class Wiaas_Checkout {
|
|||||||
|
|
||||||
do_action( 'woocommerce_before_checkout_process' );
|
do_action( 'woocommerce_before_checkout_process' );
|
||||||
|
|
||||||
$customer = wp_get_current_user();
|
|
||||||
|
|
||||||
// Check if cart empty before proceeding
|
// Check if cart empty before proceeding
|
||||||
if (WC()->cart->is_empty()) {
|
if (WC()->cart->is_empty()) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user