Hey there – appreciate your help on this. I’m not sure what conflict you want me to catch. It’s a clean install with only 4 plugins installed. If there is a conflict with those 4 basic plugins (listed above) then there may be a bigger issue. I’ve provided all the details I can including screenshots of the configuration. Is there any way you can help me debug this because this is a clean instsall with no plugins (only the 4 listed) and its showing the same issues as my production site. I think its an issue with the woocs plugin and the way its handling something.
Appreciate your help. Happy to provide the credentials to the site so you can take a look.
Hello
I catched it, I will look into it and give you know when it will be resolved
Hello
I just looking into this issue and catched strange behavior: http://clip2net.com/s/3Ak2MQ5 – if to complete order by ‘Order Actions’ from sidebar OR by this button http://clip2net.com/s/3Ak2YY6 – email I got is with right symbol. If select ‘Order status’ from ‘Order details’ metabox and press save order – wrong currency in the email, please try such situations and confirm/refute it …
Scripts:
– 2016 wp theme
– woo
– woocs
Hey RealMag,
Sorry for not getting back to you sooner. I tested this on both my test site (fresh WordPress install) and my production site and the behavior is EXACTLY as you described in your post. Changing Order Status from the metabox gives the wrong symbol. Sending email from Order Actions sidebar sends correct symbol.
Any idea how we can get this fixed? I process orders by changing their status and the email that gets sent out automatically has the incorrect currency.
all the best,
Jad.
Hello Jad
Looks like I found way:
* open index.php of the file
* find there add_action('woocommerce_order_status_completed', array($this, 'woocommerce_order_status_completed'), 1);
* and after that code add add_action('woocommerce_order_status_completed_notification', array($this, 'woocommerce_order_status_completed_notification'), 1);
* after function woocommerce_order_status_completed{…} or after any another function in WOOCS class drop next function:
public function woocommerce_order_status_completed_notification($args)
{
if ($this->is_multiple_allowed)
{
$order_id = $args;
$currency = get_post_meta($order_id, '_order_currency', true);
if (!empty($currency))
{
$_REQUEST['woocs_in_order_currency'] = $currency;
$this->default_currency = $currency;
$this->current_currency = $currency;
}
}
}
works for me, try it …
Hey RealMag,
Thanks for the note and for the fix. Just applied it to my staging and it seems to be working! Thats awesome! I’ll deploy to production tonight and continue to test. Will come back with any issues.
Will you be rolling this into future versions of WOOCS?
All the best,
Jad.
Hello Jad
Welcome 😉
Sure, I did it already for 1.1.7/2.1.7 versions …
Hi RealMag,
I encounter similar issue but on the processing order status.
Can you please help me on how to fix it?
Thank you