<?php
date_default_timezone_set('America/New_York');

$document_root = $_SERVER['DOCUMENT_ROOT'];
$funnel_real_path = str_replace('\\', '/', realpath(__DIR__ . '/../../'));
$funnel_root_path = str_replace($document_root, '', $funnel_real_path);

return (object) array(
	'crm' => (object) array(
		'domain' => '', // no required for konnektive
		'username' => 'tmapiuser2',
		'password' => 'ggN9G58Z9xfrpE4'
	),

	/* Added these */
	'corporate_name' => 'ShopJBA',
	// 'mid_descriptor' => 'GlucoVita',
	'customer_service_number' => '888-264-0946',
	'customer_service_email' => 'care@shopglucovitaflow.com',
	'smartystreets_key' => '',
	'smartystreets_autocomplete_enabled' => 0,
	'smartystreets_verification_enabled' => 0,
	'page_title' => 'ShopJBA',
	'step1_name' => 'ShopJBA',
	'step2_name' => 'Glyco-Optimizer',
	'step3_name' => 'Blood Support Liquid Drops',
	'root_path' => $funnel_root_path,
	'package_5_description' => 'GlucoVita Blood Sugar Capsule x5',
	// 'package_5_price' => '239.99',
	'package_3_description' => 'GlucoVita Blood Sugar Capsule x3',
	// 'package_3_price' => '189.99',
	'package_1_description' => 'GlucoVita Blood Sugar Capsule x2',
	// 'package_1_price' => '129.99',
	'cs_hours' => '8am EST - 8pm EST Mon - Sat',
	'path' => $funnel_root_path . '/',
	'mobile_path' => $funnel_root_path . '/mobile/',
	// 'page_title' => 'Burn Well',
	// 'step_1_name' => 'Burn Well',
	// 'step_2_name' => 'Burn Well Detox',
	'corp_name' => 'ShopJBA',
	// 'accept_visa' => true,
	// 'accept_mastercard' => true,
	// 'accept_discover' => false,
	// 'accept_amex' => false,
	'bottle_price_5' => 199.99, // total for 5
	'bottle_price_3' => 159.99, // total for 3
	'bottle_price_1' => 129.99, // total for 1
	// 'bottle_ship_price_1' => "FREE SHIPPING",
	'bottle_price_1_total' => 0.00,
	'bottle_per_5' => 39.99, // per price 5
	'bottle_per_3' => 53.33, // per price 3
	'bottle_per_1' => 64.99, // per price 1
	'bottle_save_5' => 66.66,
	'bottle_save_3' => 79.99,
	'bottle_save_1' => 129.99,
	'bottle_retail_5' => 66.66,
	'bottle_retail_3' => 79.99,
	'bottle_retail_1' => 129.99,
	'upsells' => [
		0 => ['name' => 'Capsule', 'full_price' => 59.99, 'price_per' => 29.99, 'quantity' => 2],
		1 => ['name' => 'MegaFiber', 'full_price' => 39.99, 'price_per' => 39.99, 'quantity' => 1],
		2 => ['name' => 'Nitric Oxide', 'full_price' => 49.92, 'price_per' => 49.92, 'quantity' => 1],
		3 => ['name' => 'Blood Sugar Tablets', 'full_price' => 29.99, 'price_per' => 29.99, 'quantity' => 1],
	],
	// 'upsell_list_price' => 89.95,
	'upsell_price' => 59.99,
	// 'upsell_price_per' => 29.99,
	'threeds_enabled' => false,
	'threeds_key' => 'sDs7do',
	'default_campaign_id' => 1,
	"incomplete_prospect_campaign_id" => 1,
	'affiliates' => array(
		// Bridgeway
		"default" => (object) array(
			"network_name" => "default",
			'campaign_id'					=> 1,
			'single_bottle_product_id'		=> 63, // 1 bottle
			'three_bottle_product_id'		=> 64, // 3 bottles
			'five_bottle_product_id'		=> 65, // 5 bottles
			//'upsell_id'						=> 348, // upsell
			'upsells'						=> [66, 67], // upsell ids
			'upsells_sc'					=> [580, 581, 582, 583], // scrub upsell ids
			'campaign_id_sc'				=> 79,
			'single_bottle_product_id_sc'	=> 569, // scrub 1 bottle
			'three_bottle_product_id_sc'	=> 568, // scrub 3 bottles
			'five_bottle_product_id_sc'		=> 568, // scrub 5 bottles
			// 'upsell_id_sc'					=> 352, // scrub upsell
			// "quantity" => 1, // This offer is always 1
			"scrub"                         => 0
		),
	),
	'scrub' => 10,
	'show_order_total' => true
);