module_manager->get_admin_modules('product'); $products = $this->get_internal_metas_by_key('_wpfnl_checkout_products'); $product_module->set_products($products); $step_id = 0; if (isset($_GET['step_id'])) { $step_id = filter_input( INPUT_GET, 'step_id', FILTER_VALIDATE_INT ); } // Check if this is a Store Checkout $funnel_id = get_post_meta($step_id, '_funnel_id', true); $is_store_checkout = get_post_meta($funnel_id, '_wpfnl_funnel_type', true) === 'store_checkout'; $coupon_enable = get_post_meta($step_id, '_wpfnl_checkout_coupon', true); $coupon_enable_check = ''; if($coupon_enable != 'no') { $coupon_enable_check = 'checked'; } $collapsible_coupon_enable = get_post_meta($step_id, '_wpfnl_checkout_collapsible_coupon', true); $collapsible_coupon_check = ''; if($collapsible_coupon_enable == 'yes') { $collapsible_coupon_check = 'checked'; } ?>