XML data feed
-
Hej,
Nu har jag byggt en fin webshop som jag vill ha den. Nu ska den mattas med produkter och min leverantör tillhandahåller xml data feed (live feed) med max två anrop om dagen. I den har de följande info:
Product barcode
Ebay category id
Product model
Old product model
Product dateadded
Product allowed untracked
Product name
Product team
Category Information
Small product image URL
Medium product image URL
Large product image URL
Dropship price excluding discounts
Products RRP Price
Current stock level
Individual shipping cost based o0n tracked delivery
Full product description
If the item is vatabale
Product weightHur kan kan jag publicera detta i min woocomerce webshop. Där jag får välja (matcha)rubriker som jag vill ha.
Leverantören har ett exempel:
Listed below is an example using php of how you can do this using the PHP CURL function
$userData=array(’user_id’ => ’xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’);
$url=’http://xxxxxxxxxxxxxxxxxxx_products2.php’;
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $userData);
$data = curl_exec($ch);
curl_close($ch);Jag är som ni ser nybörjare och lite rädd att köpa fel plugin och misstänker att det går att koda själv om man kan.
Vad tror ni?
- Ämnet ”XML data feed” är stängt för nya svar.