Jump to content

Echomeme

Members
  • Posts

    5
  • Joined

  • Last visited

Profile Information

  • First Name
    Echo
  • Last Name
    Meme

Recent Profile Visitors

181 profile views

Echomeme's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Hi, I try to update a product with the webservice but no way, always got : 400 Bad request. On customer i have no problem, it's only on products. My Prestashop is a new install, version 1.7. I use https://github.com/PrestaShop/PrestaShop-webservice-lib for an easy way. There is my code : define('DEBUG', true); define('PS_SHOP_PATH', 'http://prestashopdomain.com'); define('PS_WS_AUTH_KEY', '8XKBE7ZK3ZSRExxxxxxxxxQLR2MXF'); require_once('./PSWebServiceLibrary.php'); $webService = new PrestaShopWebservice(PS_SHOP_PATH, PS_WS_AUTH_KEY, DEBUG); $opt = array('resource' => 'products'); $opt['id'] = '1'; $xml = $webService->get($opt); $resources = $xml->children()->children(); $resources->reference = 'demo_3b'; $opt = array('resource' => 'products'); $opt['putXml'] = $xml->asXML(); $opt['id'] = '1'; try { $webService->edit($opt); } catch (PrestaShopWebserviceException $ex) { echo $ex->getMessage(); } As you see, nothing particular... Can somebody help me ? Thanks :-)
  2. Hi ! Actually for to create a new order from the dashboard, i need to clic on Orders, Add new Order, search a customer and finally choose the customer. Near every time, i'm on the customer summary page just before. To save time, i'm trying to get a new button on the customer summary page. This button should permit me to be on the order creation page with the preselected customer. I taked a look in controllers but each time i'm trying something i'm returning on the orders list page. Somebody can help me ? Prestashop 1.7.2.4
  3. Bonjour à tous, Je suis sous Prestashop 1.6.0.14. Voici mon "souci" avec le module blockwishlist et ce que j'aimerai faire. Le module blockwishlist envoi un mail avec le lien vers ma whishlist quand je créé une nouvelle liste mais (car il y a toujours un mais), je voudrai que ce mail ne parte pas lors de la création de la whislist mais quand on ajoute un premier produit dedans et seulement lors de l'ajout du premier produit. J'ai fait plusieurs essais mais infructueux (j'ai tout cassé lol). Est-ce qu'un expert en Prestashop pourrait me donner un coup de pouce ou me donner les grandes lignes ? Merci.
×
×
  • Create New...