• Resolved bblaas

    (@bblaas)


    I have succes with uploading products, categories, images from a c# program using the Woocommerce API 3.6.4.
    The problem I have with the Attribute Terms is that two seperate terms are created for every uploaded term that contains spaces and/or special characters.

    Trying to create the term “70% Bamboe 30% Katoen” creates one term with the correct name
    “70% Bamboe 30% Katoen” and the slug “70-bamboe-30-katoen” and an additional term with the name “70Bamboe30Katoen” with the slug “70bamboe30katoen”.

    As a result the wrong term is assigned to the products attribute.

    I have this issue on two different servers with only the woocommerce plugin activated and using the Twenty Nineteen theme.

    Using the API from the C# program I have tried all kinds of escaping characters, formating and json encoding but no luck with that so far.

    Would you kindly share your hints or ideas on this?

Viewing 1 replies (of 1 total)
  • Thread Starter bblaas

    (@bblaas)

    After four days of hairpulling I found that I wasn’t sending the options as an array. Now it works as expected.

Viewing 1 replies (of 1 total)

The topic ‘API creating Attribute terms with special characters’ is closed to new replies.