HasseParticipantJune 9, 2021 at 9:50 pmPost count: 5
Can I create a custom field directly in WP/Avada (without the ACF plugin) under a “Woo simple product” – and then let Avada’s new conditional element rendering be controlled by that value?
The info from Theme Fusion says that I can use the field “get variable”, but I can´t find any examples of how to use it with a custom field as above. What kind of variable/value can I actually use?
Can I give an image (brand logo) a value and then render it in the product layout only if the value matches the brand name (found in a different custom field)?
Is it possible (without ACF) to make a mathematical calculation based on the value in a custom field? For example, display the value from a custom price field ($100) and next to that display the same value divided by 2 ($50)?
I didn´t find any solution on this page:
https://theme-fusion.com/documentation/avada/how-to/how-to-use-conditional-element-rendering-in-avada/Xystus777ParticipantJuly 29, 2021 at 3:51 amPost count: 1
I am also extremely interested in this answer.benjaminblueParticipantAugust 2, 2021 at 6:06 pmPost count: 18
Me too! I cannot find any examples, anywhere.Gustavo-ZeemannParticipantSeptember 3, 2021 at 8:33 pmPost count: 1
Me too, has anyone found a way to use “get variable”?GobblerParticipantSeptember 12, 2021 at 10:53 pmPost count: 1
Are you able to provide an extended documentation of “How To Use Conditional Element Rendering in Avada” in respect of the “Get Variable” field?
Best RegardsMichael CKeymasterSeptember 13, 2021 at 10:33 amPost count: 514
The name there should be written GET variable with capitals. Since it is referring to https://www.php.net/manual/en/reserved.variables.get.php. It terms of usage that means checking for a variable in the current address and hiding or showing.
Eg you could have a URL such as https://avada.theme-fusion.com/?reference=facebook. But you link people from different sources with different values. Based on that you then show different content. You would check for GET variable reference.
Note though, ACF and custom fields will be added to the list for 7.5.
- This reply was modified 4 days, 8 hours ago by Michael C.
- You must be logged in to reply to this topic.