Jump to content

voylinux

Members
  • Posts

    18
  • Joined

  • Last visited

About voylinux

  • Birthday 06/05/1981

Contact Methods

Profile Information

  • Location
    Spain
  • Activity
    Developer

Recent Profile Visitors

413 profile views

voylinux's Achievements

Newbie

Newbie (1/14)

2

Reputation

1

Community Answers

  1. I am finding that Prestashop Webservice is very powerfull but seems to have a lack of good documentation. I would like to know if there is a way to be able to regenerate the user password using any call on in the webservice. Or if there is not, wich classes should I use in my extended webservice to make it. Thank you very much in advance.
  2. Thank you. I will try and let you know how it was.
  3. Not sure that I can upgrade the whole shop. Do you know if I can just upgrade the webservice?
  4. This is not working for me in Prestashop 1.5. It does return XML even including that parameter.
  5. I am developing a module that will override some PS Webservice functionality and I am trying to guess how to make it return a JSON response. I can see a some lines in PS WebserviceRequestCore that say: $this->outputFormat = isset($params['output_format']) ? $params['output_format'] : $this->outputFormat; // Set the render object to build the output on the asked format (XML, JSON, CSV, ...) $this->objOutput->setObjectRender($this->getOutputObject($this->outputFormat)); But don't understand if this really works and how to make it arrive in the request.
  6. I will probably try this week so I will be able to tell you how it was
  7. I need to develop a module that will make some products available only in a certain combination. Is there any way to mark a product to be a available only via combination but not visible in regular catalog. Also, can I make that other products (available in catalog) are applied to the combination with a different price? Thank you for you help.
  8. Hello. I am developing a module that creates new object models. Is there a way I can make those new object types available for the webservice api. What kind of definition should I add for that? Thank you.
  9. Yes, I understand. Really thanks for your help.
  10. I understand your point. I think the problem is related to that. But changing to this code gives me same error.
  11. Hello, I have followed all indicatons I found in creating the custom tab in my module but I get the next error: [PrestaShopException]Property Tab->name is empty at line 878 in file classes/ObjectModel.php872. 873. $message = $this->validateField($field, $value, $id_lang); 874. if ($message !== true) 875. { 876. if ($die) 877. throw new PrestaShopException($message); 878. return $error_return ? $message : false; 879. } 880. } 881. } but I actuallky have a name defined as a tab property. This is my createTab method in my module installation definition: $tab = new Tab(); $tab->name = 'whatever'; $tab->module = 'whatevermodule'; $tab->className = 'WhatEver'; $tab->id_parent = 0; $tab->add(); Thank you for your help.
  12. Hello bellini13, thanks for the link I did not find that info before. I was a little bit lost because I found a lot of diferent incomplete links. But in that one you point there is a lot of helpfull info.
  13. Is it possible to make the whole process of adding a new menu item to backoffice using just a module? I mean, not going to going to Administration > Menus , but everything via code, included in my module. I want to make that an automatic task to different installations just by installing the module. Could anybody explain all the files and classes that would be necessary? Thank you.
  14. Hi, Bellini13: I can see the override files have been correctly copied during installation. I am wroking with PrestaShop 5. What kind of login do you suggest I could add to the module to check those things or ensure those files deletion?
×
×
  • Create New...