Jump to content

DarioG

Members
  • Posts

    6
  • Joined

  • Last visited

Profile Information

  • First Name
    Dario
  • Last Name
    Galvani

DarioG's Achievements

Newbie

Newbie (1/14)

0

Reputation

1

Community Answers

  1. _xmld -> xmlDocument from (WebRequest.Create("http://mystore.com/api/products/22")) Dim retVal as string = GetPSCategory() -> function which returns PS ID categories from ERP Dim _xmlNodeLR As Xml.XmlNode = _xmld.SelectSingleNode("prestashop/product/associations/categories") Dim _LinkRewriteNode As Xml.XmlNodeList = _xmlNodeLR.ChildNodes For _LRNodeIndex As Integer = 0 To _LinkRewriteNode.Count - 1 _LinkRewriteNode(_LRNodeIndex).InnerXml = "<id><![CDATA[" & retVal & "]]></id>" Next I solved it!
  2. Hi all, I need to upload product images via XML web service. I've tried with some examples I found in internet but I have errors. Could you give me a working example about loading product images via web service and XML file? I know I have to write a xml file with image converted in byte array.. but I don't know how to make it works. Thanks in advance to everybody!
  3. Hi all, I'm working on a .NET application I need to update Prestashop via web service. Well I'm able to set product fields I need to manage. Now I need to set categories to each product. My trouble is I cannot understand in which way I can manage categories. Could you give me an example about it? In which way I can set categories to product via web service? thanks in advance to everybody! Dario
  4. Ciao a tutti, sto cercando di caricare un file immagine come immagine di un articolo definito in prestashop. Se eseguo l'operazione via "ADMIN PANEL" funziona tutto correttamente. Se provo a caricare la stessa immagine via WEB service .. non funziona nulla. Esiste un esempio da seguire in .NET? quelli trovati sono "sporchi" e non riesco a capirli... Grazie ancora!!!
  5. Hi all, I'm newbie in Prestashop integration, I'm looking how to get the reference in .NET. I've tried with add web reference, add service reference and I get the same result. a password request window appears .. I write the key.. I press ok... this happens 3 times. after that a BAD REQUEST MESSAGE is shown. if I use the same url via browser, it asks me the key.. i write it... and then I get the list where am I mistaking? Could you help me about that? I just need to get the reference to understand the webservice objects. I use this reference URL http://mykey@my shop.com/api/ Thanks in Advance for any informations about that Dario
×
×
  • Create New...