Hi Haas,
As some of our products use the Catalog service, they will break if you change its constructor. If you want to use any other service or setting you can use property injection, instead of constructor injection. So instead of adding your new service in the constructor, you can do the following:
private IMyService _myService;
public IMyService MyService
{
get
{
if (_myService == null)
{
return EngineContext.Current.Resolve<IMyService>();
}
return _myService;
}
}
Hope that helps. Please let us know if the errors still occur.
Hi Roland,
Thank you for your feedback. We will check and fix this a.s.a.p.
We will let you know when we are done!
Thanks again!
Hi Steve,
Looking at the error I assume that it has been produced by the block of code which tries to upgrade the Nop Customer Reminders plugin. It appears that somehow the [Store] table could not be found. This table is generated by the nopCommerce upgrade script from 2.8 to 3.0 or when on a clean install it is installed by nopCommerce.
Can you please double check whether the [Store] table is present in your database on which you get the [SqlException (0x80131904): Invalid object name 'dbo.Store'.] exception.
The upgrade script should be run only when upgrading from version 2.8 to 3.0. In the second case you have described, when you have a clean install of nopCommerce 3.0 version, you do not need to run the upgrade script, but just install the plugins for version 3.0.
Looking forward to your reply.
Hi,
I can see now what you want to achieve. Please edit the new class declaration as shown below:
.order-summary-content .order-details-table {
width: 100%;
text-align: left;
}
The line in bold is the newly added one.
Hope that helps!
Hi,
You should remove the //raminder start and //raminder end as it is not a valid css comment and this breaks the css declaration for the table width. The valid css comment is /* your text here */ You can use it that way.
Thanks!
Hi,
This should work. Have you added it in your ~/Themes/ShopAll/Content/style.css, because now when I open your site I cannot see the
.order-summary-content .order-details-table {
width: 100%;
}
declaration.
Please let us know how it goes!
Hi,
You should use the @Html.Action("WidgetsByZone", "Widget", new { widgetZone = "home_page_bottom" })
instead of
@Html.Widget("home_page_bottom")
Thanks!
Best Regards!