Problem: The client is experiencing rounding errors when converting product prices from Danish Krone (DKK) to Euro (EUR) with German tax on their WooCommerce site. The custom function used for conversion does not round the prices correctly, leading to discrepancies in the displayed prices. Solution: We recommend enabling "Round tax at subtotal level, instead of rounding per line" in WooCommerce > Settings > Tax > Tax Options screen for a potential alternative solution.
If this solution does not resolve your issue or seems outdated, please check the related known issues and confirm that you have installed the latest versions of themes and plugins. If the problem persists, we highly recommend opening a new support ticket for further assistance.
Problema: El cliente desea que su sitio web muestre dos versiones de precios en dólares: una para EEUU y otros países americanos, y otra para países latinos como Colombia y Brasil, usando el complemento WPML. Sin embargo, por la interfaz solo es posible seleccionar tipos de dólar global, canadiense, australiano, etc., y el cliente pregunta si es posible implementar dos precios diferentes para la misma moneda DÓLAR programáticamente. Solución: No es posible agregar más monedas a WCML directamente. Sin embargo, se puede cambiar el símbolo de la moneda dinámicamente usando código personalizado. Aquí está un ejemplo de cómo hacerlo:
/**
* Change a currency symbol for specific countries using WPML hooks
*/
add_filter('woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2);
function change_existing_currency_symbol( $currency_symbol, $currency ) {
// Get the current country using WPML
$current_country = apply_filters('wpml_current_language', NULL);
if ($currency === 'USD') {
// Customize currency symbol based on country
if ($current_country === 'br') { // Brazil
$currency_symbol = 'USD R$';
} elseif ($current_country === 'co') { // Colombia
$currency_symbol = 'USD COL$';
} else {
$currency_symbol = 'USD'; // Default for other countries
}
}
return $currency_symbol;
}
Además, se sugiere utilizar el complemento WooCommerce Product Price Based on Countries para gestionar precios diferenciados por país. Si esta solución no resuelve tu problema o si la información proporcionada se ha vuelto obsoleta, te recomendamos abrir un nuevo ticket de soporte. También te sugerimos revisar los problemas conocidos y asegurarte de que tienes instaladas las últimas versiones de los temas y complementos. Para más asistencia, visita nuestro foro de soporte.
Problem: The client is experiencing issues with translating the product permalink base in WooCommerce Multilingual & Multicurrency for multiple languages, resulting in blank URLs after translation. Solution: 1. Navigate to WPML > String Translation. 2. Search for the product slug under the 'WordPress' domain and delete it by clicking the "Delete selected strings" button. 3. Go to WPML > Settings and scroll to "Post Type Translation". 4. Under the "Products" post type, expand the section to "Set different slugs in different languages for Products". 5. Add the desired slug for each language and save the changes. 6. Clear site caches to ensure the changes take effect and check if the issue persists.
If the problem continues or the solution provided here is outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If needed, please open a new support ticket at WPML support forum for further assistance.
Problem: El cliente tiene problemas con que el shortcode [woocommerce_checkout] no se carga correctamente en la versión traducida al inglés de la página de pago de WooCommerce. Solution: 1. Verificamos la configuración del sitio y solicitamos acceso para una revisión más detallada. 2. Recomendamos activar y configurar el plugin 'WooCommerce Multilingual & Multicurrency'. 3. Tras la activación y configuración del plugin, el problema se resolvió satisfactoriamente.
Si esta solución no resuelve tu problema, o si parece desactualizada o no aplicable a tu caso, te recomendamos abrir un nuevo ticket de soporte. También te sugerimos revisar los problemas conocidos y verificar que tienes instaladas las últimas versiones de los temas y plugins. Para más asistencia, visita nuestro foro de soporte.
Problem: If you're experiencing inconsistent shipping costs when a customer switches languages on the checkout page, this could be due to settings not being properly synchronized across different languages. Solution: First, we recommend checking your shipping settings to ensure they are correctly configured and translated for each language. You can do this by navigating to your WordPress admin area and adjusting the settings under WooCommerce > Settings > Shipping. If the issue persists, try clearing your cache or using a different browser to see if the changes reflect correctly.
If these steps do not resolve the issue, it's possible that the solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still face problems, please open a new support ticket at WPML support forum for further assistance.