This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing an issue where adding 2x composite products to the cart on a translated page results in 4x components being added instead of the expected 2x. This problem does not occur on the original language page, suggesting it might be related to WPML.
Solution:
We recommend the following steps to address the issue:
1. Disable cart synchronization by setting it to the "Reset" option in the WooCommerce Multilingual settings. This can be done by turning on the "Prompt for a confirmation and reset the cart" option for language and currency changes.
2. Resolve the 404 image issue on the website. If uploading images for additional languages is not preferred, add the following code to the top of the .htaccess file and upload a placeholder.jpg to the site's root directory:
RewriteEngine on<br />RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f<br />RewriteRule \.(gif|jpe?g|png|bmp|webp) placeholder.jpg [NC,L]
After implementing these changes, please test to confirm that the issue is resolved.
If this solution does not seem relevant to your situation, please open a new support ticket with us.
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 17 replies, has 2 voices.
Last updated by 1 year, 6 months ago.
Assisted by: Shekhar Bhandari.