Jump to content

TeeT

Members
  • Posts

    4
  • Joined

  • Last visited

Profile Information

  • First Name
    Mehmet
  • Last Name
    Keleş

TeeT's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Hello everybody, in my application i try to get some fields of products. I can get id,reference fields but i can not reach accessories .stock_availables /api/products/?display=[full] gets all fields of products /api/products/?display=[id,name] gets id and products name fields but i send following request to gets value of accessories .stock_availables but i couldnt. /api/products/?display=[id,name,accessories .stock_availables] i dont know what should be written in [] to get stock_availables field. does someone has idea? best regards.
  2. hello i solved this problem. the issue is about product_supplier not Supplier when i add the prdoduct_supplier by product id it will be ok. thank you.
  3. Hello EveryBody, I try to develop a desktop application with c#.net. The program can connect to my site's Database via webservice. i could manage many things but the add new product is the problem for me. Actually i can add new product but i can not set the supplier of this product. .... .... .... NewProduct.id_supplier = (long)18; //id of supplier NewProduct.supplier_reference = NameOfSupplier; product ReturnProduct = ProductFactory.Add(NewProduct) after this operation ReturnProduct.id_supplier = 18 is correct but when i open the Manager console of the my site and open the the product properties the Suppliers was not be selected, of course in the site the product can not be shown in this supplier's category. i try to everything to solve this problem but i couldn't..
  4. Hello there, I try to develop a desktop application on c# which connect to website database via webservice. I added a web service to my site and acctivated it. when i try this service on browser it is asking me authentication code over and over again. I research this subject on forums and google, there are some solution which i can find. I tried these solution but i was not successful. My prestashop version is 1.6.0.14. following solutions that i tried before; pass the authentication code inside of URL. exmp; http://[autohenticationcode]@example.com/api Or http://www.example.com/api/?ws_key=[authentication code] recreate of .htaccess file add some code into .htaccess and webservice/dispacher.php files for example : https://www.prestashop.com/forums/topic/430312-presta-api-keep-asking-for-username-password-authentication-required/ and i tried this modification http://forge.prestashop.com/browse/PSCFV-7266#comment-4872 i dont have any idea about php i just wanted to use web service of a website. please anyone has idea about this problem answer me. thank you in advance
×
×
  • Create New...