cancel
Showing results for 
Search instead for 
Did you mean: 

HTML-tags decoded by SOAPv2 RPC catalogProductUpdate

SOLVED

HTML-tags decoded by SOAPv2 RPC catalogProductUpdate

Hi board!

 

This should be a simple matter but I can´t seem to find the best way to fix it. I´m using the SOAPv2 api to create/update products in Magento 1.9.1.1. It uses UTF-8 encoding for attributes which is correct for my solution but HTML-tags ("smaller then" and "greater then") are not encoded when Magneto stores data sent through the API. If I pass a attribute value "<b>text</b>" it stores "&lt;b&gt;text&lt;/b&gt;" without the quotes in Magento. I´m sure there must be a simple setting to allow HTML in attributes send through the API? Or do I need to extend the API methods for this simple task?

 

Hope you can help. Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

Re: HTML-tags decoded by SOAPv2 RPC catalogProductUpdate

My apologies. There were infact a problem with my datasource that send html_special_characters-encoded data in some cases. This made it hard to catch and I blamed the API prematurely. Problem solved.

View solution in original post

1 REPLY 1

Re: HTML-tags decoded by SOAPv2 RPC catalogProductUpdate

My apologies. There were infact a problem with my datasource that send html_special_characters-encoded data in some cases. This made it hard to catch and I blamed the API prematurely. Problem solved.