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 36 replies, has 3 voices.
Last updated by Kor 1 year, 7 months ago.
Assisted by: Kor.
Author | Posts |
---|---|
May 8, 2023 at 6:00 am #13601785 | |
Kor Supporter
Languages: English (English ) Timezone: Asia/Singapore (GMT+08:00) |
Hi there, Thanks for replicating it on our sandbox site. I've played around with it and it seems to work now on the translated product here hidden link . Could you check and see if it's what you're trying to achieve? There might be some conflict happening on your production site hence causing the issue you had there. Thanks! Kor |
May 8, 2023 at 4:43 pm #13607589 | |
maciejU |
Hi Kor, |
May 8, 2023 at 7:51 pm #13608653 | |
Kor Supporter
Languages: English (English ) Timezone: Asia/Singapore (GMT+08:00) |
Hi there, Thanks for your reply. I've deactivated most of the plugins on your staging site and the issue still persists. Could you please share FTP access here so that I could check the debug logs and escalate it if there are errors? Thanks! Kor |
May 8, 2023 at 8:47 pm | |
May 9, 2023 at 8:37 pm | |
May 12, 2023 at 9:27 am | |
May 15, 2023 at 2:39 pm #13649031 | |
Kor Supporter
Languages: English (English ) Timezone: Asia/Singapore (GMT+08:00) |
Hi there, Thanks for your reply. It works with SFTP. Please allow me to perform a thorough troubleshooting and I will come back to you as quickly as possible. Thanks! Kor |
May 17, 2023 at 3:16 pm #13665607 | |
maciejU |
Hi Kor, |
May 17, 2023 at 3:21 pm #13665683 | |
Kor Supporter
Languages: English (English ) Timezone: Asia/Singapore (GMT+08:00) |
Hi there, Thanks for your reply. Yes, I would need FTP access to your staging site. I wouldn't want to interrupt your production site with our troubleshooting. I'm preparing a report for our 2nd Tier Support for further investigation. Your following answer will be private, which means only you and I have access to it. Thanks! Kor |
May 17, 2023 at 3:23 pm | |
May 22, 2023 at 8:19 am #13687157 | |
maciejU |
Hi Kor, |
May 22, 2023 at 10:10 am #13688287 | |
Kor Supporter
Languages: English (English ) Timezone: Asia/Singapore (GMT+08:00) |
Hi there, Thanks for your reply. I apologize for the delay in response. I've performed a thorough troubleshooting and I still don't have a solution for this. I'm escalating this to our 2nd Tier Support now and I will come back to you once I've feedback. Thanks! Kor |
May 22, 2023 at 10:45 am #13688593 | |
maciejU |
Sure, thanks as I want to downgrade the server to lower one but I can do it only via cloning it. I want to do it after you will have a solution for it. |
May 26, 2023 at 8:08 am #13720529 | |
Kor Supporter
Languages: English (English ) Timezone: Asia/Singapore (GMT+08:00) |
Hi there, Thanks for your patience. We have a solution. Please refer below. Workaround Look for line 171. Change: $swatch_html = commercekit_as_get_swatch_html( $swatch_type, $attribute_swatches[ $attribute_id ][ $item->term_id ], $item ); For: $wpml_default_lang = apply_filters('wpml_default_language', NULL); $swatch_html = commercekit_as_get_swatch_html($swatch_type, $attribute_swatches[$attribute_id][apply_filters('wpml_object_id', $item->term_id, 'category', FALSE, $wpml_default_lang)], $item); I've applied it in your staging site and it's working now hidden link . Please check. Thanks! kor |
May 26, 2023 at 8:14 am #13720915 | |
maciejU |
Amazing! So should I let the theme developers know to apply this or there is something that you need to apply in your backend? I can see it works <3 can this be applied to a live theme? |