Sepertator change

Closed

Import WP Pro Updated 2 weeks ago 4 Replies

Evelien asked 3 weeks ago on March 13, 2025 at 4:25 pm

Hi James,

In an exporter it outputs the separator with |. How can I change this to a comma.

Example: tax_product_cat.name

 
<category>
<![CDATA[ Medische Instrumenten|Diagnostiek|Oftalmoscopen|Otoscopen|Combinatiesets|Combi Diagnostiek ]]>
</category>
 
ET

Evelien replied

3 weeks ago on March 13, 2025 at 7:41 pm

One additional question, can I add 2 different post types into one exporter? Due to the fact that woocommerce uses 2 post_types 'product' and 'product_variation' I would like to add them both in 1 feed.

With thanks,

Demian

J

James replied Support Agent

2 weeks ago on March 17, 2025 at 10:03 pm

Hi Evelien,

To change the seperator, instead of selecting a value from the dropdown you can instead type it, for example if you paste this into the dropdown it should change the seperator to a comma: 

{tax_product_cat.name | {"seperator": ","}}

If you have the importwp woocommerce plugin installed there should be an option to choose woocommerce products when you are creating the exporter, this exports both these post types.

James

ET

Evelien replied

2 weeks ago on March 18, 2025 at 9:09 pm

Hi James,Thank you. The question was to get both post types into one feed. These are 2 different psost types by Woocommerce:Check the screenshot:https://snipboard.io/4BPQZb.jpgWith thanks,Demian
J

James replied Support Agent

2 weeks ago on March 18, 2025 at 9:14 pm

If you have the latest version of https://www.importwp.com/integrations/import-woocommerce-products/ installed, there is an option to select "WooCommerce Products" when exporting, this exports both post types.

James