Location: PHPKode > scripts > Price Comparison Shopping by DataFeedFile > price-comparison-shopping-by-datafeedfile/include/DFF_sku.func.php
<?php
/**************************************************************
*
* DataFeedFile.com (DFF) Framework API
* Copyright (c) 2008 DataFeedFile.com
*
* DFF Framework API uses CreativeCommons.org by-sa license.
* This license lets others remix, tweak, and build upon your work even for commercial reasons,
* as long as they CREDIT DataFeedFile.com and license their new creations under the identical terms.
* This license is often compared to open source software licenses.
* All new works based on yours will carry the same license, so any derivatives will also allow commercial use.
* Please read our license.txt file for more detail.
*
**************************************************************/
require_once $DFF_config['dir_include'].'DFF_affiliate_client_API.php';

function DFF_get_sku_info($DFF_SKU, $mode = 0) {
	//MODE 0 = PRODUCT INFO ONLY
	//MODE 1 = MERCHANTS LISTING ONLY
	//MODE 2 = BOTH PRODUCT INFO + MERCHANTS LISTING

	// GET LOWEST MERCHANT STORE INFO
	$dff_request = new DFF_Client_API;
	$dff_request->set_using_DFF_config();
	$sku_params['product_sku'] = $DFF_SKU;
	$sku_params['mode'] = $mode;
	$result = $dff_request->post_request(DFF_PPC,$sku_params);
	$dff_request->convert_json_to_array();
	
	return $dff_request->result_array['product_info'];
}

?>
Return current item: Price Comparison Shopping by DataFeedFile