The Foxy forums are on the move!

We're in the process of moving our forums over to a new system, and so these forums are now read-only.
If you have a question about your store in the meantime, please don't hesitate to reach out to us via email.

HTTPS for Foxycart Script/CSS/Image Includes

in Bugs & Feature Requests edited April 2011
We fixed the problem by caching the scripts, css, and images on our own server, but using the default script src references causes an error when you include them on sites with a security certificate. It'd be nice to be able to reference those files securely in the future.
Comments
  • fc_adamfc_adam FoxyCart Team
    Hey,

    Can you provide some more details as to what you're trying to do here?

    If you're referring to the cart/checkout/receipt pages, FoxyCart can securely cache your whole template including images, css and scripts automatically for you by caching the page in the administration.
  • edited April 2011
    Instead of this:
    !-- BEGIN FOXYCART FILES -->
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"; type="text/javascript" charset="utf-8"></script>
    <script src="http://cdn.foxycart.com/YOUR_FOXYCART_DOMAIN/foxycart.complete.js"; type="text/javascript" charset="utf-8"></script>
    <link rel="stylesheet" href="http://static.foxycart.com/scripts/colorbox/1.3.9/style1_fc/colorbox.css"; type="text/css" media="screen" charset="utf-8" />
    <!-- END FOXYCART FILES -->
    

    Be able to do this:
    [color=#CCCCCC]!-- BEGIN FOXYCART FILES -->
    <script src=[/color]"[b]https[/b][color=#CCCCCC]://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="[/color][b]https[/b][color=#CCCCCC]://cdn.foxycart.com/YOUR_FOXYCART_DOMAIN/foxycart.complete.js" type="text/javascript" charset="utf-8"></script>
    <link rel="stylesheet" href="[/color][b]https[/b][color=#CCCCCC]://static.foxycart.com/scripts/colorbox/1.3.9/style1_fc/colorbox.css" type="text/css" media="screen" charset="utf-8" />
    <!-- END FOXYCART FILES -->[/color]
    

    And within the default colorbox.css file, have the images point to a secure server as well.
  • lukeluke FoxyCart Team
    Hey stuckpixelryan. I think you're referring to the foxycart include files hosted by our CDN, correct? I think that's on our to-do list, but I'll have to get back to you on that.
  • Yeah, that's what I'm talking about. Like I said, it's not an enormous issue to cache the files on our own server, but it would probably make for a more seamless experience out-of-the-box if it worked that way.
  • brettbrett FoxyCart Team
    Definitely something on the list that we've been taking steps to address. We've had some issues getting the SSL on our CDN but it should be up soon. Ping us back on this thread in a few weeks if you don't see it on the changelog.
  • @brett: We've been waiting for this as well... any idea what the ETA is?
  • fc_adamfc_adam FoxyCart Team
    @ncstaff,

    Unfortunately we don't have an ETA, but it is definitely on our list to get to as soon as we can. Thanks for bumping this thread.
  • Hi, I have the same question two years later :). Can I use SSL on the CDN? I'd like to use protocol-relative links, e.g.:
    <script src="//cdn.foxycart.com/YOURDOMAIN/foxycart.colorbox.js"></script>
    
Sign In or Register to comment.