This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're experiencing an issue where the 'Show currencies based on' setting in Woocommerce > Woocommerce Multilingual & Multicurrency under the Multicurrency tab changes from 'Client location' to 'Site language' when regenerating feeds in the CTX Feed Pro plugin, we have identified the cause.
Solution:
We found that the CTX Feed Pro plugin is designed to change the 'Show currencies based on' setting during the regeneration process and then revert it back once completed. This process should take around 30 minutes. If you encounter an error or interruption during this process:
1. Manually switch the setting back to 'Client Location' to ensure your site's configuration is correct.
2. We recommend contacting the plugin author to report the issue and suggest they consider updating the functionality to prevent potential disruptions during feed regeneration.
Please note that this solution might not apply to your case if it's outdated or not relevant. If the issue persists, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If needed, don't hesitate to open a new support ticket with us for further assistance.
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: Compatibility
This topic contains 7 replies, has 2 voices.
Last updated by Bruno Kos 3 weeks, 3 days ago.
Assisted by: Bruno Kos.
Author | Posts |
---|---|
March 26, 2024 at 10:54 am | |
przemyslawM-8 |
Hey, I'm writing again (the previous chat was closed). I'm encountering an issue with the WPML and CTX Feed Pro plugins. In Woocommerce > Woocommerce Multilingual & Multicurrency, under the Multicurrency tab, the setting changes from Client location to Site language whenever any feed regeneration is initiated in the CTX Feed plugin. |
March 26, 2024 at 11:27 am | |
March 26, 2024 at 11:37 am #15450878 | |
Bruno Kos Supporter
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+02:00) |
Escalated to Compatibility team |
March 29, 2024 at 6:27 am #15463048 | |
Bruno Kos Supporter
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+02:00) |
It seems that the plugin is changing this setting this intentionally in the before_woo_feed_get_product_information hook at app/public/wp-content/plugins/webappick-product-feed-for-woocommerce-pro/libs/webappick-product-feed-for-woocommerce/V5/Compatibility/woocommerce_wpmlCompatibility.php. Can you please try the following: 1. Navigate to the `app/public/wp-content/plugins/webappick-product-feed-for-woocommerce-pro/libs/webappick-product-feed-for-woocommerce/includes/` directory. wp_send_json_error( array( 'message' => esc_html__( 'No products found. Add product or change feed config before generate the feed.', 'woo-feed' ), 'success' => false, ) ); With: do_action('ctx_feed_after_save_feed_file'); wp_send_json_error( array( 'message' => esc_html__( 'No products found. Add product or change feed config before generate the feed.', 'woo-feed' ), 'success' => false, ) ); |
March 29, 2024 at 12:14 pm #15464248 | |
przemyslawM-8 |
Unfortunately it does not working. function woo_feed_get_product_information() { // Check user permission if ( ! isset( $_REQUEST['feed_info'] ) ) { $feed_info = $_REQUEST['feed_info']; try { // Get Product Ids // Hook After Query Products Logs::write_log( $config->get_feed_file_name(), sprintf( 'Total %d product found', is_array( $ids ) && ! empty( $ids ) ? count( $ids ) : 0 ) ); if ( is_array( $ids ) && ! empty( $ids ) ) { Logs::write_log( $config->get_feed_file_name(), sprintf( 'Total %d batches', count( $ids ) ) ); wp_send_json_success( wp_die(); if ( $products->publish > 0 ) { wp_die(); |
April 2, 2024 at 6:29 am #15471101 | |
Bruno Kos Supporter
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+02:00) |
Can you please try the following: 1. Open your browser's developer console (usually by pressing F12 or right-clicking on the page and selecting "Inspect", then going to the "Console" tab). |
April 2, 2024 at 10:41 am #15472102 | |
przemyslawM-8 |
Unfortunately there is no errors |
April 2, 2024 at 12:43 pm #15472940 | |
Bruno Kos Supporter
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+02:00) |
Escalated to Compatibility team |
April 4, 2024 at 6:08 am #15480972 | |
Bruno Kos Supporter
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+02:00) |
We discovered that the plugin operates by changing the "Show currencies based on" setting from "Client Location" to "Site Language" upon clicking the "Regenerate" button, and then switches it back after regenerating the field. This process was observed to work as designed, taking around 30 minutes for completion and successfully restoring the setting to "Client Location". However, this approach has drawbacks, such as potential issues if an error occurs or the process is interrupted, leaving the site with incorrect settings during the regeneration time. Can you please do the following: |