Hi there!
I have change the default nop blog path from /blog to /articles and everything goes fine, except your _RichBlogCategoriesNavigation.cshtml that uses your BlogByCategory route, poiting to /blog/category path.
Is possible to override this path to use /articles/category instead?
Please help!
The full message is being cut..
{"categoryId":"17","manufacturerId":"0","vendorId":"0","priceRangeFilterModel7Spikes":{"CategoryId":"17","ManufacturerId":"0","VendorId":"0","SelectedPriceRange":{},"MinPrice":"4","MaxPrice":"300"},"specificationFiltersModel7Spikes":{"CategoryId":"17","ManufacturerId":"0","VendorId":"0","SpecificationFilterGroups":[{"Id":"4","FilterItems":[{"Id":"11","FilterItemState":"Unchecked"}]}]},"attributeFiltersModel7Spikes":{"CategoryId":"17","ManufacturerId":"0","VendorId":"0","AttributeFilterGroups":[{"Id":"1","FilterItems":[{"Name":"M","ProductVariantAttributeIds":["1483","1171","1266","1272","1467","1268","1222","1102","1416","1416","1352","1109","1109","1383","1182","1072","28","28","1113","2538","1250","54","1316","1316","48","1212","1202","1156","1350","2516","2536","2534","2530","2528","2524","2522","2412","2410","2408","2114","2047","1477","1487","1487","1464","1458","1363","1404","1404","1414","2343","2545","1077","1308","1111","39","52","1284","1230","1436","38","1220","2520","1396","1326","1326","46","1115","1115","1411","24","1185","1378","1343","2518","1231","1074","1403","2514","2092","1186","1193","1320","1320","1183","2526","42","7","17","17","15","26","30","30","5","34","34","32","18","18","23","23","13","13","9"],"FilterItemState":"Unchecked"},{"Name":"G","ProductVariantAttributeIds":["1483","1482","42","46","52","39","48","1228","54","1375","28","28","1376","1109","1109","9","13","13","23","23","1270","18","18","32","1268","1467","1272","34","34","1111","1266","1248","5","1171","30","30","26","15","17","17","7","2526","1183","1320","1320","1193","1186","2092","2514","1403","1074","1231","2518","1343","1378","1185","1411","24","1115","1115","1326","1326","1396","2520","1220","38","1436","1230","1284","1308","1077","2545","2343","1414","1404","1404","1363","1458","1464","1487","1487","1477","2047","2114","2408","2410","2412","2522","2524","2528","2530","2534","2536","2516","1350","1202","1212","1316","1316","2538","1113","1072","1182","1383","1352","1416","1416","1102","1222"],"FilterItemState":"Unchecked"},{"Name":"GG","ProductVariantAttributeIds":["1481","7","17","17","15","26","30","30","5","34","34","32","18","18","23","23","1455","13","13","9","1376","1375","1076","1076","21","21","1266","1111","1272","1268","1270","1109","1109","1416","1416","1352","1182","1072","28","28","1113","2538","1316","1316","1212","1202","1156","1350","2516","2536","2534","2530","2528","2524","2522","2412","2410","2408","1477","1487","1487","1458","1363","1404","1404","2545","1077","1284","1230","2520","24","1326","1326","1115","1115","1185","1343","2518","1231","1074","2514","2092","1186","1193","1320","1320","1254","1183","2526"],"FilterItemState":"Unchecked"},{"Name":"P","ProductVariantAttributeIds":["2526","1183","1320","1320","1193","1186","2092","2514","1403","1074","1231","2518","1343","1378","1185","1411","1115","1115","1326","1326","24","1396","2520","1248","1220","1436","1230","1284","1111","1308","1077","2545","2343","1414","1404","1404","38","1363","1458","1464","1487","1487","1477","2047","2114","2408","2410","2412","2522","2524","2528","2530","2534","2536","2516","1350","1202","18","18","1212","1316","1316","2538","1113","1072","1182","1383","1352","1416","1416","1109","1109","1102","1222","42","46","52","39","48","54","28","28","9","13","13","23","23","32","34","34","5","30","30","26","15","17","17","7"],"FilterItemState":"Unchecked"},{"Name":"Único","ProductVariantAttributeIds":["2232","2237","2231","1076","1076","2233","2235"],"FilterItemState":"Unchecked"},{"Name":"M/G","ProductVariantAttributeIds":["1106","1409","1409","1526","1524","1406"],"FilterItemState":"Unchecked"},{"Name":"P/M","ProductVariantAttributeIds":["1406","1524","1526","1409","1409","1106"],"FilterItemState":"Unchecked"},{"Name":"G/GG","ProductVariantAttributeIds":["1409","1409"],"FilterItemState":"Unchecked"}]},{"Id":"2","IsMain":true,"FilterItems":[{"Name":"Preto","ProductVariantAttributeIds":["1271","1448","2494","
<div id="nopAjaxFiltersNoProductsDialog" title="@T("SevenSpikes.NopAjaxFilters.Client.Common.NoResultsFoundTitle")">
<p>@T("SevenSpikes.NopAjaxFilters.Client.Common.NoResultsFoundMessage")</p>
</div>
Hi there!
I created a new reminder and I want to schedule it to start next sunday and send each 7 days.
Is there a way to do it and ensure no e-mail will be send unless it is sunday?
Thanks!!
The problem was in DependencyRegistrar. The rule's line was missed!
Thanks a lot again!
Working great, thanks.
Now, when I edit an old rule, this error appears:
System.InvalidOperationException: Sequence contains no matching element at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate) at SevenSpikes.Nop.Plugins.CustomerReminders.Controllers.CustomerRemindersAdminController.RF1sHprQV(String ) at SevenSpikes.Nop.Plugins.CustomerReminders.Controllers.CustomerRemindersAdminController.gFyFtq2rt(String , Int32 ) at SevenSpikes.Nop.Plugins.CustomerReminders.Controllers.CustomerRemindersAdminController.Edit(Int32 id) at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End() at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass48.<InvokeActionMethodFilterAsynchronouslyRecursive>b__41() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass48.<InvokeActionMethodFilterAsynchronouslyRecursive>b__41() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass48.<InvokeActionMethodFilterAsynchronouslyRecursive>b__41() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass48.<InvokeActionMethodFilterAsynchronouslyRecursive>b__41() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass48.<InvokeActionMethodFilterAsynchronouslyRecursive>b__41() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass48.<InvokeActionMethodFilterAsynchronouslyRecursive>b__41() at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass33.<BeginInvokeActionMethodWithFilters>b__32(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End() at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c() at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult)
/admin/customerremindersadmin/edit/3
This reminder is no longer being executed. Only other remindes.
Ivan.
Hi!
I have created a new custom rule for abandoned cart, but there is a problem, it doesnt send e-mails or add entries to reminder's report. I have other rules working fine, just it doesnt work. Better, can you verify my code, please?
When deguggig, there is data and result contains all message info to send, but after method return, nothing happens. I have changed all rule conditions, but no results anyway.
var customerReminderInfos = new List<CustomerReminderInfo>();
var _from = DateTime.Now.AddMinutes((int)conditionMetDateLaterThan.TotalMinutes * -1);
var _to = DateTime.Now.AddMinutes((int)conditionMetDataEarlierThan.TotalMinutes * -1);
var query = from sci in _sciRepository.Table
where sci.UpdatedOnUtc >= _from
&& sci.UpdatedOnUtc <= _to
&& sci.ShoppingCartTypeId == 1
&& sci.StoreId == storeId
select sci;
var cartItems = query.ToList();
var customers = cartItems.Select(p => p.Customer).Distinct().ToList();
foreach (var customer in customers)
{
if (!customer.IsRegistered())
continue;
var tokens = GetTokens(customer, store);
var customerReminderInfo = new CustomerReminderInfo()
{
Customer = customer,
ReminderMessageId = customer.Id,
RuleConditionMetDate = DateTime.Now,
Tokens = tokens,
StoreId = storeId
};
customerReminderInfos.Add(customerReminderInfo);
}
return customerReminderInfos;
I created a couple new rules and I need to make some customizations on your abandoned card rule. Is it possible to share your rule code with me? Can send it to my email ? I will be glad!
Nop 3.3 and 3.6 (if possible).
Thanks!