Product Scheduler

Please follow the instructions below carefully as this plugin requires some extra steps beyond simply installing to get working.

1. Install the plugin as usual if it has not already been installed.

2. Create a new product and skip all editing only setting the product to non viewable and non orderable. Go directly to the "Options" and add two new Textbox options. Add one called "From Date" or something similar and one called "To Date". Next, we will need to get the id's of the products options. To do this, put your mouse over the up and down arrow on the options list for the option. You will note in the URL an &id= followed by a number. Take note of the numbers for each as you will need to enter them into the plugin settings page.

3. Open the file index.php and look for the first occurrence the following lines of code:

	$sess->dvar('cart'); $sess->svar('cart', $cart);
	
	and: 
	
	header("location: ".$_SERVER["HTTP_REFERER"]);
	
	Above these two separate lines of code add:
	
	// Custom Code
	include_once $abs_path.'/include/plugins/plugin_product_scheduler.php';
	// End
	
4. Open the file checkout.php and look for the following line of code:

	if ($errors) $hide[] = "OrderID";
	
	After it add the following lines:
	
	// Custom Mod
	include_once $abs_path.'/include/plugins/plugin_product_scheduler.php';
	// End
	
5. Save and close the files and you are all set.