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'; } ?>

$_product) { $product = wc_get_product($_product['id']); if (!empty($product)) { $text_highlight_enabler = ''; $text_highlight = ''; $subtext = ''; $title = $product->get_title(); $price = $product->get_price(); $qty = $_product['quantity']; if (isset($_product['subtext']) && $_product['subtext'] != '') { $subtext = $_product['subtext']; } if (isset($_product['text_highlight']) && $_product['text_highlight'] != '') { $text_highlight = $_product['text_highlight']; } if (isset($_product['enable_highlight']) && $_product['enable_highlight'] != '') { $text_highlight_enabler = $_product['enable_highlight']; } $enabler = ''; if( isset($_product['enable_highlight']) && $_product['enable_highlight'] == 'on') { $enabler = 'checked'; } $pr_image = wp_get_attachment_image_src($product->get_image_id(), 'single-post-thumbnail'); $description = substr($product->get_description(), 0, 20); require WPFNL_DIR . '/admin/modules/steps/checkout/views/products.php'; } } ?>
' . __('No product added', 'wpfnl') . ''; } ?> } else { ?>
' . __('No product added', 'wpfnl') . ''; } } ?>

/>
/>