• Resolved behemothwebstore

    (@behemothwebstore)


    Hello! I have a problem with some tags which Woo adds to json of the products. I am trying to integrate with Aftership, but they write me that the integration won’t work because “orders JSON data returns from WooCommerce rest API is not a valid JSON data.?
    It contains an unexpected “<br \>” charset on product description field.”

    When I go to the product description source editor, there are no such tags. Why it is being added and how to eliminate this?

    thank you

    Maciej Gruszka

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi there @behemothwebstore

    From what I gather, you are trying to integrate with Aftership using bespoke code, and the representative from Aftership is reporting that the order JSON data contains an unexpected <br \> charset on product description field. Corect?

    Feel free to check out the documentation on WooCommerce REST API, linked here.

    Furthermore, I am linking directly here to the Product Properties, where the description string is included, in the API documentation.

    Please let us know if you have any further questions about this matter, or if we misinterpret your concern in any way. We will be happy to help you further.

    Thread Starter behemothwebstore

    (@behemothwebstore)

    yes, but still something is adding not proper tags to the product descriptions .

    \nDISINHERITANCE<br \>\nOFF TO WAR!<br \>\nONCE UPON A PALE HORSE<br \>

    these <br \> codes are not there in the product description, the Aftership team says: <br \> should escape to <br /\>

    Can you please write why this wrong tag is added to my product description?

    Howdy @behemothwebstore

    Just to clarify, were you already able to eliminate the possibility that this is a server-specific issue?

    For context, this was reported here.

    these <br \> codes are not there in the product description, the Aftership team says: <br \> should escape to <br /\>

    This sounds like they can be replaced using a function.

    I trust that points you in the right direction, but if you have more questions, let us know. We’re happy to help.

    Roxy

    (@roxannestoltz)

    Hi @behemothwebstore ,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – feel free to create a new topic? should you need any further help.

    Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘tags in product descriptions’ is closed to new replies.