We have an API that bridges products from wooc to accountent. This product title including variations and put them in the accountant software like this "title product - variation add on"
The installation of wpml cause a problem here, when wpml is activated only "titel product" is put trough. clearly wpml is causing this change in the endpoint of the API
Languages: English (English )Vietnamese (Vietnamese )
Timezone: Asia/Ho_Chi_Minh (GMT+07:00)
Hi Stefan,
Thank you for contacting WPML support, I’m happy to help you with this issue.
This product title including variations and put them in the accountant software like this "title product - variation add on"
Please let me know if the "title product" here is the variation title or the parent product title.
I recheck this issue on my demo site and see the variation title includes the product title and attributes in the Rest API response. Please see the attached screenshot.
If it is the parent product title, by default, WooCommerce doesn't support adding the attribute (variation addon) to the parent product title. Do you use a custom code to add the attribute to the product title in the Rest API response?
Can I upload a PDF somewhere?
You can upload it to Google Drive or Dropbox and share the URL here.
1)"title product" is the parent product title
2) no custom code is used, it normally (for years already) grabs the parent title + variation add on and puts it trough. Only when WPML is activated, it suddenly stops adding the variation add on. We A/B tested it and toggled WPML, i am 99.99% sure this causes the change.
Languages: English (English )Vietnamese (Vietnamese )
Timezone: Asia/Ho_Chi_Minh (GMT+07:00)
So it's a variation - downloadable product. I still don't see that issue on my local site, in the original and second language. Please check two attached screenshots.
I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated. Your next reply is set to private to share the info.
And please share the consumer/secret key so I can check the issue with the Postman app.
❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to create the backup: https://wordpress.org/plugins/duplicator/
✙ I would need your permission to de-activate and re-activate Plugins and the Theme to change configurations on the site if needed. This is also a reason the backup is critical.
thanks for the reply
Two mistakes in my opinion in understanding the issue, lets tackle that first.
1) it is not a downloadable product (in the image it is clearly a can of spray paint), neither was it mentioned anywhere.
2) the issue does not occure in change on language/second language, it occurs when the plugin is activated or deactivated.
Languages: English (English )Vietnamese (Vietnamese )
Timezone: Asia/Ho_Chi_Minh (GMT+07:00)
Hi,
You mentioned this WooCommerce API in the doc file hidden link
that means it is a downloadable product. Even if it is not a downloadable product, it's only a variation product, you can see in two attached screenshots that I shared above, the product title and attribute addon are displayed in the Rest API response, both original and second languages.
To investigate the issue on your site, I would like to request temporary access (wp-admin and FTP) to take a better look at the issue (including the consumer/secret key). It would be better to have a testing site where the issue is replicated. Your next reply is set to private to share the info.
Languages: English (English )Vietnamese (Vietnamese )
Timezone: Asia/Ho_Chi_Minh (GMT+07:00)
It is the Duplicator (https://wordpress.org/plugins/duplicator/) backup file URL that you upload to a storage like Google Drive, Dropbox. You can use any backup plugin and share the file.
If you take the backup from the hosting service, please ignore that option.
Languages: English (English )Vietnamese (Vietnamese )
Timezone: Asia/Ho_Chi_Minh (GMT+07:00)
I'm checking the variable product "DK Therm Hittebestendige verf in spuitbus" and its variation "Glans zwart 0900-0916", ID 6972.
I use the WooCommerce Rest API "products" to get the product information "GET /wp-json/wc/v3/products" hidden link
the product title and variation are displayed in the response as well. Please check the attached screenshot. Let me know what the Rest API that you are using to get the information.