Vai al contenuto Vai alla barra laterale

Questo è il forum di assistenza tecnica di WPML, il plug-in multilingue di WordPress.

La sua lettura è permessa a tutti, ma la pubblicazione è riservata esclusivamente ai clienti di WPML. Il team di WPML risponde sul forum 6 giorni su 7, 22 ore su 24.

Questo ticket contiene 1 voce e ha 0 risposte.

>

Assistito da: Paola Mendiburu.

Autore Post
Settembre 29, 2023 alle 1:40 pm #14487917

andreaR-52

hello,
with wp-all-export plugin I want to generate an xml feed containing each product variant <id> of the site including the translations of further languages (the site is English, French, German, Spanish, Italian).

Selecting 'all' under 'wpml' generates a feed duplicating the sku's with their language fields.
Would it be possible instead not to duplicate the language fields but simply add the translations of each unique id? I give an example of the xml I would like to obtain:

<id>test</id>.
<title_en>test</title_en>.
<title_en>test</title_en>.
<title_fr>test</title_en>
<title_es>test</title_en>
<title_de>test</title_en>

or

<id>test</id>.
<title>
<en>test</en>
<fr>test</fr>
<de>test</de>
<it>test</it>
<es>test</es>
</title>

Otherwise I am forced to create 5 separate export files but in this chaos I have an additional problem.
My variants contain custom data such as "management_ean" which contains the ean of the product. In the English feed the custom_data is written correctly, in the translated language feeds it remains empty.