Close

Profile: ipappous

Avatar

User posts

Bugs
8 years ago


Just upgraded a shop from 3.60 to 3.70 it seems there is a problem with dynamicprice
on ..\Themes\Tiffany\Views\Product\_ProductAttributes.cshtml

line 206
     var dynamicPriceUpdate = EngineContext.Current.Resolve<CatalogSettings>().EnableDynamicPriceUpdate;
    var dynamicPriceUpdateAjax = EngineContext.Current.Resolve<CatalogSettings>().DynamicPriceUpdateAjax;

it says that these methods no longer supported by nopcommerce catalogSettings!
EnableDynamicPriceUpdate and DynamicPriceUpdateAjax

just to make it work I have changed those lines to
    var dynamicPriceUpdate = EngineContext.Current.Resolve<CatalogSettings>().CacheProductPrices;
    var dynamicPriceUpdateAjax = EngineContext.Current.Resolve<CatalogSettings>().AjaxProcessAttributeChange;

    probably not correct

    please advise what to do.

    regs,

    mk