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.

Tagged: 

This topic contains 8 replies, has 5 voices.

Last updated by cooperativaE 3 months, 2 weeks ago.

Assigned support staff: Shekhar Bhandari.

Author Posts
July 4, 2019 at 7:01 am #4140581

alexanderM-23

I am trying to:

Create a variable product via WOO REST API V3.

I expected to see:

A variable product.

Instead, I got:

A "simple" product "out of stock".
Variations are being created => but product type gets set to "simple".

This only happens when WPML is activated!
I use a default WP installation all updated to latest versions!

July 4, 2019 at 8:32 am #4141231

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Welcome to WPML support. I'd be assisting you further on this issue.

I will like to let you know that variable products are still not implemented with WPML + REST API, the feature is already on our roadmap and in developer queue. When exactly our developers will release an update including the required fix is not up-to us Supporters to determine so I am unable to provide you an eta when this will be implemented right now.

I am sorry I couldn't be much help here.

Kind Regards,
Shekhar

July 4, 2019 at 8:40 am #4141263

alexanderM-23

Ok, good to know.

It would be helpful to provide this information somewhere...

Unfortunately this happens when I create a product (in default language), not even a translation.

This means WPML influences WOO API even for not translated products and prevents the posibility to add variable products at all?

July 4, 2019 at 8:46 am #4141289

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

I have created an internal documentation ticket about this so the documenation could be updated.

Since it's not implemented properly, I think it's creating the issue, since you mentioned disabling WPML works.

Thanks

July 5, 2019 at 10:33 am #4150313

alexanderM-23

By the way:

Your documentation claims:

"WooCommerce Multilingual is compatible with the WordPress REST API. Using the REST API, you can now create, read, update, and delete translated WooCommerce content. This includes Products, Categories, Orders, and others."

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

I find this very misleading or actually scam!
This has cost me lots of hours of debugging!
Things I can't charge my customers for!

Absolutely unacceptable for a "premium" plugin. :/

July 8, 2019 at 4:17 am #4158985

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

I’m really sorry for this experience.

I have created a note to the documenation team so the document will be updated soon.

Thanks

July 17, 2019 at 2:10 pm #4231037

Job

I'm experiencing this issue too. Where can we track when this will be implemented?

August 11, 2019 at 8:39 pm #4377521

alexanderG-17

Same issue!
Please check it and solve it!
It's terrible
Most products is variable and problem with creation and prices at all!!

August 18, 2019 at 7:04 am #4411681

cooperativaE

Same issue for me!