Running into a logic problem.
%today% incorrectly shows Sunday when today is Monday
%now% shows the correct time in my current time zone
%tomorrow% returns a blank result (along with all other variables which refer to tomorrow)
As such
I can’t do anything with tomorrow hours, and today’s hours are wrong as they show yesterday’s hours.
Thanks for the quick response!
I would like to have three separate notifications per day:
Before opening: Carwash Uden opens at …
During opening: Carwash Uden is open until …
After opening: Carwash Uden opens again tommorw from …
(and when it is closed tomorrow: Carwash Uden is closed tomorrow)
Thanks in advance!
Sincerely,
Erwin Teering
Hi Erwin,
Thanks for getting in touch.
Here is your question:
A small question, I am using the shortcode below. Is it possible to indicate that when it is (for example) 8 o’clock and the location opens at 10 o’clock he indicates that it will open at 10 o’clock, without indicating that it will be open again from 10 o’clock tomorrow?
Now he shows both. I would like to see one before opening, and the other after opening on that day
Is this due to the order of shortcodes or is there not (yet) a code for this? If not, can it be made?
You posted me the following shortcode and content:
[open_text]
%if_open% Carwash Uden is open today until %today_end% %end%
%if_closed%
%if_open_today% Carwash Uden opens today at %today_start% %end%
%if_open_tomorrow% Carwash Uden is open again tomorrow from %tomorrow_start% %end%
%if_closed_tomorrow% Carwash Uden is closed tomorrow %end%
%end%
[/open_text]
Note: I presume you are removing the line breaks so the sentence works? I am keeping them here for clarity. I have also indented the logic to show it more clearly.
If you only want to show that it is open today at a certain time, you only need to cut out the references to tomorrow. This would look something like:
[open_text]
%if_open% Carwash Uden is open today until %today_end% %end%
%if_closed%
%if_open_today% Carwash Uden opens today at %today_start% %end%
[/open_text]
The ordering of the replacement logic is not important if the two bits of logic are mutually exclusive. Please ensure that you open and then close each logic statement properly.
Is that what you meant by your question?
Please can you post something on the forum if you feel it is relevant to other people – it is useful to have some answers public.
Best regards,
Noah Hearle
]]>Is there a way to specify an individual text for invoices to Switzerland?
I send my goods from Germany to Switzerland.
However, I can not charge tax there. And it must be noted with a text on the bill.
Unfortunately, I have not found a possibility, maybe someone can help me here.
Greeting
dev-panda
Eg a select dropdown contains 3 options:
“Hair Salon 1”
“Hair Salon 2”
“Hair Salon 3”
When a user chooses “Hair Salon 2” in the form, text is displayed in the Mail (2) Message Body autoresponder email they receive. The text would say something like (Please note Hair Salon 2 is closed on Sunday) and only appears when that option is selected.
Many thanks
Warren
I would like my auto responder text to differ depending on a checkbox input.
ie 2 checkboxes 1 is iOS and the other is Android.
If a user ticked ios I would like to give a set of instructions based on that input.
many thanks
Antony
https://www.ads-software.com/plugins/caldera-forms/
]]>How can I make just plain text conditional and depending on custom field value?
Let′s say I have custom field with the name “Do you like blue or black?”, possible values being, well “blue” and “black”. If the value is blue, there′s another custom field with the name: “What kind of blue” with values like “navy”, “deep”, etc.
Now, those fields show on posts like this:
How can I make it so that when the value for first question is “black”, the “what kind of blue:” text is not shown?
As you can see I use get custom fields plugin, but it is not necessary if the solution should to be done without it.
Hopefully I made sense with this, after all I presume this is nothing too complicated, but just can′t get my head around it.
]]>