• Welcome to KonaKart Community Forum. Please login or sign up.
 

refresh singleton object data on frontend from admin

Started by bharatkasodariya, May 18, 2013, 12:52:37 pm

Previous topic - Next topic

bharatkasodariya

I have singleton object with some product info on the front end. I want to refresh that object when product is updated from admin.  How can we achieve it.

Thanks
Bharat

julie

A custom Admin engine http://www.konakart.com/docs/EngineCustomization.html allows you to add your own code whenever a product is updated.

bharatkasodariya

Thanks Julie,

Will that work? singleton object is in konakart and to refresh will give call from konakartadmin.

julie

Through the custom engine we provide a place where you can execute your own code whenever a product is edited. How you use this code to inform your singleton is really up to you. For example your singleton could periodically read a flag from a shared area such as the database.

bharatkasodariya