How to refresh shop price after item price alteration

Hi,


I am currently developing a little plugin, wich calculates new prices for given items based on a day variable.


Now the changes are done, but the price did not change at all when I reopen the shop...


It seems that "this._buyWindow.refresh();" is arranging items for the shop, but it can´t refresh the buy price -.-


How can I refresh the price ?


Thx


casp0or
Prices are during the Shop Command to either a specific price, or the standard one. So if you're developing a plugin for changing prices, you need to be modifying the standard price (but you will also need a way to save those changes during the save option so that it carries thru), or just do the price change right in the JS function that sets the price during shop processing.
Thanks ^^ 


I found some promising functions... will try them tomorrow
I found a solution!


Just use the intern save and load functions ... use your current save_slot_id


DataManager.saveGame(save_slot_id);
DataManager.loadGame(save_slot_id);


after this two lines of code, intern changes to every *.json are applyed

Original thread: https://forums.rpgmakerweb.com/threads/how-to-refresh-shop-price-after-item-price-alteration.73988/