[resolved] Changing the datafeed URL (4 posts)

  1. fountaininternet
    Posted 3 years ago #

    Is it possible for me to change the datafeed URL after I've installed FoxyShop? My use case is that my store is now live, but I want to be able to test changes to templates, FoxyCart options, etc. without affecting the live site. Since I don't want to revert the live store back to test mode, I've created a new FC store for use in the development version of my site. But that means I really need a new datafeed URL to go with it, which I'd use only in my local WP installation. Is that possible, or is there a better way of going about this?



  2. sparkweb
    Plugin Author

    Posted 3 years ago #

    Hi Simon,

    (For direct support it's much faster to email me through the FoxyShop website - I have to rely on Google Reader to let me know about new support topics and I just saw this now, 5 days later.)

    I would recommend that you create a new page called test-datafeed, setup page-test-datafeed.php and copy the contents of foxyshop/themefiles/foxyshop-datafeed-template.php to your new template, then you can run it that way. Then the two are totally separate from each other and you can post to yoursite.com/test-datafeed/

    BTW - if you are doing datafeed work, the process of trial and error can be pretty maddening. I made a tool to help it quite a bit - sign up for http://foxytools.com/orderdesk and you can use the datafeed simulator to send the XML content on-demand to your datafeed and get back an instant response.

    Good luck!

  3. fountaininternet
    Posted 3 years ago #

    Thanks David. I was trying to avoid the test stuff in my local development environment going to the live datafeed - that's why I created a separate FC store for that purpose. I was hoping that I could simply change the datafeed URL in my development version of the site so everything was entirely separate from the live site.

  4. sparkweb
    Plugin Author

    Posted 3 years ago #

    I guess I'm a little confused. Doesn't your config look something like this?

    Live Site Datafeed: yoursite.com/foxycart-datafeed-whateverAA
    Dev Site Datafeed: dev.yoursite.com/foxycart-datafeed-somethingelse

    Email me at web [at} sparkweb ...... net to share specifics.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic