Avada Forums Community Forum How to use the get variable / value?

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • Hasse
    Participant
    Post 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/

    Xystus777
    Participant
    Post count: 1

    I am also extremely interested in this answer.

    benjaminblue
    Participant
    Post count: 36

    Me too! I cannot find any examples, anywhere.

    Gustavo-Zeemann
    Participant
    Post count: 1

    Me too, has anyone found a way to use “get variable”?

    Gobbler
    Participant
    Post count: 1

    Hello Avada-Team,

    Are you able to provide an extended documentation of “How To Use Conditional Element Rendering in Avada” in respect of the “Get Variable” field?

    Thank you
    Best Regards

    Michael C
    Keymaster
    Post count: 532

    Hi,

    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.

    Thanks

    amyboyack
    Participant
    Post count: 3

    Is there a way to use local sessionStorage data in the conditional rendering? I’m trying to make different menus appear based on the answers to a popup form. Any direction would be helpful.
    Thanks,
    Amy

    unipar
    Participant
    Post count: 2

    Hello everyone,

    I’m racking my brain to find out how this works, I’ve tried several ways and nothing works.

    Avada Team,

    please show some examples of how to make GET VARIABLE / VALUE work.

    Thanks.

    Fabio Baptista

    marklchaves
    Participant
    Post count: 873

    Hello Fabio,

    If you don’t want to wait for examples or for the docs to get updated, I’ve recorded a 3-minute video on how I would use a get query parameter with Avada forms.

    https://youtu.be/JRv60TUQemM

    Shout if you have any questions.

    Cheers!

    bsahey
    Participant
    Post count: 7

    Always enjoyed — and learned from — your code samples / videos.

    marklchaves
    Participant
    Post count: 873

    Hey @bsahey,

    Much appreciated! 🙂

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.