[Resolved] issue with the WPML and CTX Feed Pro plugins
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.
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.
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.
2. Open the `action-handler.php` file.
3. Locate the `woo_feed_get_product_information()` function, which is around line 120.
4. Before every `wp_send_json_error` snippet, add the following line: `do_action('ctx_feed_after_save_feed_file');`.
5. Specifically, you should replace snippets like this:
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,
)
);
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).
2. Check if there are any JavaScript error messages displayed in the console.
3. If you find any errors, please take a screenshot and send it to us.
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:
1. If you experience an error or interruption during this process, manually switch the setting back to "Client Location" to avoid prolonged periods with incorrect site configuration.
2. Consider reaching out to the plugin author to report these issues with the current workflow. Tell them how the regeneration process could potentially disrupt site operations and suggest looking into an update or modification of this functionality.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.