Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Puck Holshuijsen 183 posts 726 karma points
    Oct 11, 2017 @ 08:23
    Puck Holshuijsen
    0

    Refresh product cache after save

    Hi Guys,

    I am changing the inventory of a product on the fly, which works great! The only issue I am having, after saving the inventory and i go to another page, it gets my old inventory count (whilst in the DB the correct inventory is shown).

    Is there a good way to refresh that part? Rebuilding the index does the trick, but is really slow. Maybe somebody has an idea or solution?

    Thanks!

    Puck

  • Rhys Browning 2 posts 71 karma points
    Mar 22, 2018 @ 09:49
    Rhys Browning
    0

    Hi Puck,

    Did you ever find a way to refresh the product cache after a save?

    Rhys

  • Puck Holshuijsen 183 posts 726 karma points
    Mar 22, 2018 @ 12:17
    Puck Holshuijsen
    0

    Hi Rhys,

    I actually can't remember. I had to change the way of using the inventory, thus this wasn't needed anymore.

    Normally if you save the product, it should automatically refresh it's cache.

    Puck

Please Sign in or register to post replies

Write your reply to:

Draft