• Resolved feifei168

    (@feifei168)


    I offer a discount based on the purchase history, total amount spent by the customer in his previous orders. It is not work if the same account ordered in the different language. The total amount spent is just calculate separately in different language.
    (i.e. order 1 spent $500 in language A, order 2 spent $400 in language B, the total amount spent is $500 if I used language A for this rule. the total amount spent is $400 if I used language B for this rule.)
    How to combine the amount spent in different language for the same account?

Viewing 1 replies (of 1 total)
  • Plugin Author AsanaPlugins

    (@asanaplugins)

    Hi @feifei168

    Thank you for your message.

    For total amount spent and other order amount related conditions we are using WooCommerce functions.

    For example for total spent amount we use wc_get_customer_total_spent( $this->customer->ID ) and maybe polylang save different language orders in different tables or sites.

    Unfortunately the plugin is not fully compatible with multilingual sites and we will check it and if it is possible will add a feature to combine different language orders.

    Best Regards.

Viewing 1 replies (of 1 total)
  • The topic ‘consumption in WPML for same account’ is closed to new replies.