Show countries for delivery process forms. Refactor countries.
This commit is contained in:
@@ -492,6 +492,8 @@ class Wiaas_Cart {
|
||||
$country = get_user_meta(get_current_user_id(), '_wiaas_cart_items_country', true);
|
||||
$currency = empty($country) ? get_woocommerce_currency() : $country['currency'];
|
||||
|
||||
$order->add_meta_data('_wiaas_country_code', $country['code']);
|
||||
|
||||
$order->set_currency($currency);
|
||||
|
||||
// get order commercial lead
|
||||
|
||||
Reference in New Issue
Block a user