Este hilo está resuelto. Aquí tienes una descripción del problema y la solución.
Problem:
If you're experiencing issues with WPML Multicurrency for specific Booking products and Accommodation bookings, and you want to deactivate the multicurrency option and set the original currency (Brazilian Real) based on the product ID, we understand your concern.
Solution:
We recommend the following steps:
1. Hide the price for the specific product (e.g., product ID 1234).
2. Use a hook like
'wcml_product_price_by_currency'
to add a custom price in the original currency.
Please review the documentation for the
'wcml_product_price_by_currency'
hook here: https://wpml.org/wcml-hook/wcml_product_price_by_currency/.
Additionally, you can explore our hooks directory for other codes that might be suitable for your project: https://wpml.org/documentation/related-projects/woocommerce-multilingual/wcml-hooks-reference/.
Please note that custom coding is beyond our support scope, and it's your responsibility to maintain any custom code you implement. For more information on our support policy, please visit: https://wpml.org/purchase/support-policy/.
If this solution doesn't seem relevant to your situation, please feel free to open a new support ticket with us for further assistance.
Este es el foro de soporte técnico de WPML, el plugin multilingüe de WordPress.
Todas las personas pueden leerlo pero solo los clientes de WPML pueden ingresar comentarios. El equipo de WPML responde en los foros 6 días a la semana, 22 horas por día.
Este tema contiene 1 respuesta, tiene 2 voces.
Última actualización por hace 1 año.
Asistido por: Mateus Getulio.