abcd_12345, thank you for the reply, but it is incorrect. Your link directs you to where to change the store name which should then appear in the footer. This is the error. The code in the footer is this:
<div class="footer-disclaimer"> @T("Content.CopyrightNotice", DateTime.Now.Year.ToString(), "Store name here") </div> <div class="footer-storetheme">
Therefore regardless of what you add as your store name, it will never change. The coding is incorrect. I'm only just learning cshtml so alas, I don't know what to use to correct the error.
abcd_12345, thank you for the reply, but it is incorrect. Your link directs you to where to change the store name which should then appear in the footer. This is the error. The code in the footer is this:
<div class="footer-disclaimer"> @T("Content.CopyrightNotice", DateTime.Now.Year.ToString(), "Store name here") </div> <div class="footer-storetheme">
Therefore regardless of what you add as your store name, it will never change. The coding is incorrect. I'm only just learning cshtml so alas, I don't know what to use to correct the error.
I'm surprised the Team has not answered this yet. (Maybe if it was posted in "Bugs" :) In any case, here's what I did (but I'm not an MVC expert, and this would seem to violate it - where's the model? Or am I missing something?)
@{ var storeName = Nop.Core.Infrastructure.EngineContext.Current.Resolve<Nop.Services.Configuration.ISettingService>().GetSettingByKey("storeinformationsettings.storename", "Store name here"); } ... @T("Content.CopyrightNotice", DateTime.Now.Year.ToString(), storeName)
Maybe, because the question is not clear. What exactly it not changed on the site? I can also guess.
Go to Admin area > Configuration > Settings > General settings. Then 'SEO settings' tab and set 'Default title' (not 'Store information' tab and 'Store name'). After it's done, the title will be changed
I'm surprised the Team has not answered this yet. Maybe, because the question is not clear. What exactly it not changed on the site? I can also guess.
Andrei, No need to guess. He says "footer" and shows the code that generates the footer, where it appears that "Store name here" is hard coded. (Is my code change acceptable within the nop "framework", or am I missing something? Or, should the framework have provided a Model?)
Pepper, Andrei's answer is correct regarding Title coming from SEO settings. But for copyright footer, I think you need to make change I indicated above.
Is my code change acceptable within the nop "framework", or am I missing something? Or, should the framework have provided a Model? You're right. There should be a model.
So is this going to get fixed in the next release? Right now, I'm going to need to hard code it.