Problem: The client is experiencing issues with currency shifting and stock updates on their WooCommerce site when NitroPack caching is enabled. The currency selection is supposed to be based on the client's country, but it sometimes fails to change correctly. Additionally, product stock levels are not updating as expected. NitroPack support inquired about the use of variation cookies related to the WooCommerce Multilingual plugin, which the client could not find in the session.
Solution:
1) We confirmed that the necessary cookies for handling languages and currencies already exist, and one of them is a NitroPack cookie.
2) We invited NitroPack to collaborate with us through the Go Global Program to ensure compatibility between our plugins.
3) We provided a code snippet to create a custom cookie for currency:
4) We advised the client to add this code to their functions.php file and to ask NitroPack how to exclude the 'wcml_custom_currency_cookie' from caching.
If this solution does not seem relevant to your situation, please open a new support ticket with us.
Problem: The client is trying to register WPML on their WordPress site and has followed the step-by-step instructions but is experiencing issues.
Solution: If you're experiencing issues with registering WPML on your site, we recommend you try the following steps: 1. Log in to your WPML account and go to the Sites page. 2. Delete the existing site key. 3. Create a new subscription key for your site. 4. Visit your Site Dashboard and navigate to Plugins >> Add New >> Commercial tab. 5. Click on the “Unregister WPML from this site” or “Register” button. 6. Register with the new site key and refresh the page.
For more detailed instructions, please refer to our documentation: