roccomedia Posted May 8, 2012 Share Posted May 8, 2012 I´m doing a normal PUT-Command to update a single product but during this action the response message called ("parameter "position_in_category" not writable. Please remove this attribute of this XML"). I have deleted these XML-Node after this the same error comes with the "manufacturer_name" Node. I´ve deleted too. The response was "Succesfully" but now the Node with the Value of "Price" will be increased by every request approx 92 Euro..184.. This result happens becouse deleting of SimpleXMLnode with UNSET leave gaps in the XML-Structure. Can anyone help me to find a solution?? Thanks! Link to comment Share on other sites More sharing options...
Dh42 Posted May 9, 2012 Share Posted May 9, 2012 This is more that likely going to be the least helpful answer as I have not worked with prestashop's restful api yet. Do you have the proper permissions set for doing this in the back office? If so, this is real hacky, but it might be the only way to do it if there is a bug. First try GET'ing the value and POST'ing over it. More than likely that will not work. But if it does, it does. Then try GET'ing the values, DELETE'ing them and POST'ing them back updated. Might be worth a shot if this is holding you up. Link to comment Share on other sites More sharing options...
Recommended Posts