Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Nicolas V. 1 year, 9 months ago.

Author Posts
August 14, 2023 at 5:53 pm #14199431

jevgenijsG

Dear WPML Team,

I am trying to import products from 1C platform via custom php module we already have.
When I import products with Deactivated WPML products are added successfully.
When I import products with Activated WPML products are added(and can be found using Ajax search on energygroup.lv), however products doesn't appear in All Products in Woocommerce and on website on customer's end.

I came across something that I feel might be a problem. When process it with Activated WPML and then do "Set language information" (Support - troubleshooting) newly added products appear.

Please advise how to avoid clicking "Set language information" every time after import and simply find new products in All products once they are imported?

Kind regards,
Max

August 15, 2023 at 5:15 pm #14204571

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hello,

We are currently handling a high amount of ticket and while waiting for one of my colleagues to help with this ticket, can you give us more information about how this importation works?

I'm not familiar with 1C platform but if it's using REST API, please try to add the language information in your custom code.

'lang' => 'lv',

Ref: https://wpml.org/documentation/related-projects/woocommerce-multilingual/using-wordpress-rest-api-woocommerce-multilingual/#create-products

The topic ‘[Closed] WPML, Woocommerce and 1C integration’ is closed to new replies.