Woocommerce E-Mail Subject Order_Date Not Translated - wordpress

I am using Woocommerce Version 2.6.14 (Update not a possibility for other reasons).
Problem is {order_date} variable in E-mail subject isn't translated on different system e-mail templates. Here is an example.
A user orders a product, the system sends first mail to a user which is created by.
woocommerce/templates/emails/customer-on-hold-order.php
The Subject Section is as follows:
And the E-Mail subject user receives ({order_date} translated, no problem):
Nisan 25, 2018 tarihli tisort.ist siparişiniz bize ulaştı.
Then I change the order's status to "processing" system sends another e-mail to a user using the following template.
woocommerce/templates/emails/customer-processing-order.php
The Subject Section is as follows:
And E-Mail subject user receives is ({order_date} still in english ):
April 25, 2018 tarihli tisort.ist siparişiniz işleniyor.
I couldn't find any differences in templates or other places. How can I debug this?

Related

user_id and user properties don't show up in reports

we just released GA4 to our ecommerce shops but I have a problem with some custom dimensions and user properties. At the moment when I create a report and use our user_id as dimension it only shows up as "not_set".
What I did:
We push the the following information to the datalayer (user_id and crm_id). Both have the same values.
I created a datavariable in GTM to fetch the user_id and crm_id
enter image description here
I added those fields to the GA4 base config tag and to the other events (like add_to_cart)
enter image description here
I added a custom dimension (user scope) called "crm_id" in GA4
In DebugView data is shown for those user properties
enter image description here
enter image description here
The result: all data regarding "crm_id" is not set.
enter image description here
Does anyone know what I did wrong?
It seems that we have a similar issue: here is our ticket on the GA4 issue tracker.
We've created it on Apr 14, 2022. As for today (that is Apr 18, 2022) there is no any response.
And we've also found another tickets indicating that smth went wrong with User Properties in GA4 in March (before March everything worked fine for us too): this and this one. There were some replies from the support team but the solution was not provided and the tickets are still open.
Maybe you should also leave your comments there to gather interest for the issues.

Is it possible to set a currency per user?

Is it possible to set a currency per user rather than based on a user's address. So that no matter where in the world a customer was looking at the site they would always see their "home" price? e.g a US based customer always sees the $ price, even if they are currently shopping from Europe.
Ideal solution would be to have a currency selection box in the user profile.
Option 1
Check this WooCommerce Plugin: "The Currency Converter Widget lets you offer a dynamic currency switcher for displaying product prices and totals." "... your customers will be able to change the currency". (It costs extra, though.)
https://woocommerce.com/products/currency-converter-widget/
https://docs.woocommerce.com/document/handle-multiple-regions-currencies-woocommerce/
Option 2
Another plugin. WooCommerce Multi-Currency: "Multi-Currency is a WooCommerce extension that provides switching currencies and re-calculating rates on-the-fly." The user can "Choose the currency using a sidebar widget" and "Pay in the selected currency" (Also costs extra.)
https://woocommerce.com/products/multi-currency/
Here is an overview on the topic:
https://docs.woocommerce.com/document/shop-currency/ -> text on Multiple Currencies

Big Commerce Cart Subtotal global variable name

I've asked Big Commerce on their community forum and in the help (chat) - I'm after the GLOBAL variable name for the cart subtotal.
I need to include this in my invoice / tax receipt email.
Currently I just add this to the bottom of my standard Invoice.
RECEIPT FOR DONATION
Received from: %%GLOBAL_ShipFullName%%
Amount: %%GLOBAL_SideCartTotalCost%%
Date: %%GLOBAL_DatePlaced%%
__
NB: the SideCartTotalCost doesn't survive as a variable through to the Invoice stage, so nothing is displayed in the email sent to purchasers.
Any thoughts or suggestion most welcome. I have a case open with Big Commerce but so far nothing has come from that.

ACF fields ,select where a email goes,apply conditional logic

I have pages with ACF(advanced custom fields) setup with different fields.
I want to be able to access that data and apply a
conditional logic.
To apply the conditional logic there will be a contact form
where the public will fill in and dependant on what they choose
an email will be sent out to different recipients.
Fields are:
Destination: of which there are 5 to choose from
type of place: house, apartment ( drop down)
email address: "email"
Contact form will have
name:
Phone:
email address:
Destination: (acf) select which ones
type of place (acf) selct which ones
Date picker
how many people Adult Children
Accommodation package (select or both)
message
So from the 3 fields... destination, type of place and email
I want an email to go to the email recipients who meet the criteria selected
with all of the mentioned above data to be sent.
with a default email sent to the wp account.
What is the best way to tackle this?
You have here 2 solutions :
First one, the easiest, you create 5 contact form, and depending on the acf value, you print the corresponding contact form. This solution might not been really beautiful, but is working well.
Seconde solution, a little bit harder, would be to add an input hidden in your form. Set the recipient email into this input hidden. Then hook, in your function.php the wpcf7_before_send_mail() hook. During this hook, replace the recipient mail set in CF7 to the one set in input hidden.

contact form 7 send mail according to user response

I have set up a Contact Form 7 on my website and It has a drop down so the user can select any option from the drop down . so my problem is this that when a user select from any of the 3 option , a mail has been sent to the user who has submitted a form but I want to sent the mail according to the desired option because I have three different mails for 3 different option
So there is only one option for mailto . Is there any hook to send the mail accoridng to user selection
I'm not 100% sure of what you want, but for what I understand you need to send the email to a different address according to the selected option in the dropdown, right?
The pipes feature allow that.
Your select tag would be something like that:
[select your-recipient "CEO|ceo#example.com"
"Sales|sales#example.com"
"Support|support#example.com"]
With that you'll have the following dropdown in your form:
But in the email the [your-recipient] tag will produce the value after the "|" character. So you can put this tag inside the Mail fields (in your case, it should be in the "To" field, because you want to send the email to that address).
So, if for example an user select "CEO" in the dropdown, the email will be sent to ceo#example.com. And if another user select "Sales", then it will go to sales#example.com.

Resources