Viewing 8 replies - 1 through 8 (of 8 total)
  • OptArt

    (@optart)

    hi @botnavi,
    there is nothing allowing such behaviour but in chrome/firefox there are plugins allowing you to set refreshing browser tab each X seconds – maybe that would do what you need?

    Thread Starter botnawi

    (@botnawi)

    there are functions in PHP or JAVASCRIPT that can do this, any file in the plugin relate these changes?

    OptArt

    (@optart)

    I wouldn’t suggest changes in plugin as they would get lost when you upgrade.
    If you want to edit it anyway, look in “admin” directory of jigoshop plugin files

    Thread Starter botnawi

    (@botnawi)

    I managed to do that, you can put it in the version that comes

    OptArt

    (@optart)

    Hi botnavi,
    good to hear, can you share your code changes here?
    it’s not necessarily expected behaviour so probably we’ll think of adding option to enable/disable such thing

    Thread Starter botnawi

    (@botnawi)

    Hi,
    Yes of course, so in the “admin” folder was the “jigoshop-admin-post-types.php” file and open the “function jigoshop_custom_order_columns ($ column) {” we’ll add the PHP code:

    $url=$_SERVER[‘REQUEST_URI’];
    header(“Refresh: 60; URL=$url”);

    60 is time to refresh in seconds

    OptArt

    (@optart)

    thank you

    Thread Starter botnawi

    (@botnawi)

    you are welcome 🙂

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Order admin page auto refresh ???’ is closed to new replies.