Adding a button to modal Answered

Post author
Abbey Burtis

I added another button to this modal and published to my site but for some reason it’s not appearing and all settings are enabled for it to be visible. Can someone help me understand why this might be happening?

Comments

4 comments

  • Comment author
    Shadi null

    usually it has to do with a custom attribute, an empty custom field if you're using a URL from a custom field, or a clash in CSS styling

    1
  • Comment author
    Marc Wayne

    Hi everyone!

    i hope all is well! I am trying to create a button that does or does not do specific actions when it is pressed depending on the status of the user:

    1. when not logged in -> open modal to login
    2. when logged in (no paying plan) -> open modal to upgrade
    3. with paying plan (trial, paid etc.)-> user can press the button and it does it's intended purpose (send out an api request to chatgpt)

    how would i accomplish this? any suggestions?

    cheers,
    Marc

    0
  • Comment author
    Michel Schade

    Make the button three times with the different attributes added for the wanted use case. Then only the correct button will to show to the user.

    0
  • Comment author
    Marc Wayne

    thank you Michel! 💪😀

    0

Please sign in to leave a comment.