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?
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
Hi Puck,
Did you ever find a way to refresh the product cache after a save?
Rhys
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
is working on a reply...