Getting Merchant Product Information using PrdtID or Merchant Number + SKU
function DFF_get_merprdt_info ($prdtid=FALSE, $mernum=FALSE, $mersku=FALSE)
How to use:
When using DFF_get_merprdt_info, you should input either prdtid or mernum+mersku. You should not use both.
Input:
prdtid = DFF merchant product ID (not consistent - will change between data refresh)
mernum = DFF merchant number
mersku = DFF merchant SKU (actual SKU provided by merchant from data feed file)
Return:
DFF_get_merprdt_info returns an array when successful or FALSE value when error occured.
Array Output ( when successful)
Array output (sample value):
Array
(
[prdtid
] =>
1154523413
[corenum
] =>
0
[mernum
] =>
55593
[mersku
] =>
397473
[mername
] => Staples UK
[mfgname
] => ASUS
[category1
] => Uncategorized
[category2
] =>
[category3
] =>
[mfgmodel
] =>
[mfgpartno
] =>
397473
[upc
] =>
[isbn
] =>
[shortdesc
] => eeePC
900 Black, 16gb NETBOOK - Intel Mobile Processor, 1GB Ram, 16GB SSD,
1.3MP Webcam, Wireless, Linux,
8.9" Widescreen Display
[longdesc] => Discover new perspectives with the 8.9 Inch Eee PC
[meravail] => Y
[poszip] =>
[weight] => -0.01
[shipmin] => -0.01
[shipmax] => -0.01
[imgurl] => http://www.staples.co.uk/ENG/images/products/uk_397473_1_std.jpg
[condition] => NEW
[taxable] => Y
[ratingcount] => 0
[merchantratingcnt] => 0
[warranty_value] => 30
[warranty_unit] => D
[prdtprice] => 357.25
[prdturl] => http://www.datafeedfile.com/dff_prdtclick.php?affid=1001&prdtid=1154523413
)
There are no comments on this page. [Add comment]