I am synchronizing a database with prestashop but when uploading the categories they are not registered this is the xml template that prestashop has
<prestashop xmlns:xlink="http://www.w3.org/1999/xlink">
<category>
<id/>
<id_parent/>
<active/>
<id_shop_default/>
<is_root_category/>
<position/>
<date_add/>
<date_upd/>
<name>
<language id="1"/>
<language id="2"/>
</name>
<link_rewrite>
<language id="1"/>
<language id="2"/>
</link_rewrite>
<description>
<language id="1"/>
<language id="2"/>
</description>
<meta_title>
<language id="1"/>
<language id="2"/>
</meta_title>
<meta_description>
<language id="1"/>
<language id="2"/>
</meta_description>
<meta_keywords>
<language id="1"/>
<language id="2"/>
</meta_keywords>
<associations>
<categories>
<category>
<id/>
</category>
</categories>
<products>
<product>
<id/>
</product>
</products>
</associations>
</category>
</prestashop>
but it does not have a field that allows me to register the level_depth, nleft, nright fields of the ps_category table. I need these fields for the category to be displayed. I don't know if you know of another way to do it or how I can fill these fields from the webservices, thank you very much
the xml must in the part must be true to if 1