Background of the issue:
I am trying to use a WooCommerce coupon that applies only to one specific category. In English, the coupon applies successfully to all products in that category. In Arabic, the coupon shows an error. Both the product and category are properly translated and linked in WPML.
Symptoms:
The coupon applies only to English products. When switching to Arabic, the coupon fails with the error: 'Sorry, the coupon does not apply to the selected products.'
Questions:
Why does the coupon not apply to Arabic products even though they are translations of the English products?
How can I ensure the coupon applies to both English and Arabic products in the same translated category?
1. Set the “Coupons (shop_coupon)” post type as Not Translatable from WPML >> Settings > Post Types Translation.
2. Went to Marketing >> Coupons.
3. Choose the All languages option from admin language switcher(screenshot attached).
4. Edited the Coupon code and replaced lang=en to lang=all from URL.
5. Choose the both languages Brand categories and press an Update button.
Now, it works correctly for both languages. Could you please check and confirm?