PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Add a Class to the Redirect Link

  1. I am so close to integrating Foxycart and Gravity Forms. I am able to send the data over to Foxycart using a redirect URL with query string

    However

    I need to add class="foxycart" to that link for it to work/look decent. Is there anyway to do this?

    Posted 14 years ago on Friday July 30, 2010 | Permalink
  2. I'm a little confused? It's a redirect, so how does a class apply? It's not a link, it's a page redirect...

    Posted 14 years ago on Friday July 30, 2010 | Permalink
  3. Foxycart is designed to open in a lightbox, and the class is what triggers it. I have it passing the info now, but renders in the full screen. I am hoping to just add a class to that link.

    Make sense?

    Posted 14 years ago on Friday July 30, 2010 | Permalink
  4. I took a look at the code and I see that it is not a link but rather:

    return "<script>document.location.href='$url';</script>";

    So I guess the odds are low of opening that in a lightbox.

    Perhaps I am just going to have to leave this at +1 for being able to pass form post data.

    Cheers.

    Posted 14 years ago on Friday July 30, 2010 | Permalink