Profile: Sizzler


User posts

6 years ago

Ajax filters ignores when Allow Filtering is turned off (set to 0) and still returns those products. In the Product_SpecificationAttribute_Mapping table, the AllowFiltering can set to 0 (off) for some products and set to 1 (on) for other products.  For example, if using custom text, allow filtering is off (set to 0) by default but an option id is still required.  Nop Ajax filters will return both products when selected in the filters menu, the one set to 0 and the one set to off.

In our example we have a row in the SpecificationAttributeOption table, with an id of 605.
We have 2 rows in the Product_SpecificationAttribute_Mapping table with SpecificationAttributeOptionId = 605.  In the 1st row AllowFiltering = 0, in the 2nd row AllowFiltering = 1.  
In the public store when this option is selected (where id = 605), both products are returned, where AllowFiltering = 1 and where AllowFiltering = 0.  It should only return the product where  AllowFiltering = 1.  It should not return the products where filtering is off for that specific option, as mapped in the table, as in our case, it is just a dummy value required by Nop for custom text.

6 years ago

The standard NopCommerce filters sorts alphabetically by option name as a secondary Order By after the display order. In the event that two or more options have the same "display order" value. Its a simple matter of just having a secondary field name in order by clause.  Switching from the core Nop filters to the Ajax filters breaks that functionality and the sort order is no longer correct.  This is a very simple fix and it needs to be fixed.

6 years ago

Boyko wrote:

The specification attribute values are plain text (not numbers) and they can be ordered only alphabetically

Thank you for the reply, however, they are not sorted alphabetically. See attached screen shot.  If the order by is by 1st order is display order, the 2nd order by needs to be option name for those options where the order by is the same value.

6 years ago

If the sort order for the specification attribute options is not set (all 0), can you have the default sort order to be in ascending order? It now uses the order that it was added to the database in admin.

6 years ago

Can we have some more "real estate" on the settings page for the Theme to enter the CSS code?  The text box is too small to work in and there is lots of opportunity on the page to give it some more room.  Please see the attached image.

10 years ago

Whenever I try to install the SevenSpikes.Nop.Plugins.CategoriesHeaderMenu plugin, the error message below is thrown.  I am able to install the SevenSpikes.Core plugin fine, however, the CategoriesHeaderMenu will throw the error below even when trying to reload list of plugins.   I do have my own custom theme, so I tried to change to DarkOrange these and re-try but it still failed.  Any insight to this would be greatly apprecaited.  Using NOP version 2.6.

System.NullReferenceException was unhandled by user code
  Message=Object reference not set to an instance of an object.
       at SevenSpikes.Nop.Framework.MVCExtensions.RouteCollectionExtensions.AddControllerNamespacesToRoute(RouteCollection routes, String routeName, String[] namespacesToAdd)
       at SevenSpikes.Nop.Framework.Routing.BaseRouteProvider.(RouteCollection )
       at SevenSpikes.Nop.Framework.Routing.BaseRouteProvider.RegisterRoutes(RouteCollection routes)
       at Nop.Web.Framework.Mvc.Routes.RoutePublisher.<>c__DisplayClass3.<RegisterRoutes>b__1(IRouteProvider rp) in C:\Source\nopCommerce_2.60_Source\Presentation\Nop.Web.Framework\Mvc\Routes\RoutePublisher.cs:line 28
       at System.Collections.Generic.List`1.ForEach(Action`1 action)
       at Nop.Web.Framework.Mvc.Routes.RoutePublisher.RegisterRoutes(RouteCollection routes) in C:\Source\nopCommerce_2.60_Source\Presentation\Nop.Web.Framework\Mvc\Routes\RoutePublisher.cs:line 28
       at Nop.Web.MvcApplication.RegisterRoutes(RouteCollection routes) in C:\Source\nopCommerce_2.60_Source\Presentation\Nop.Web\Global.asax.cs:line 43
       at Nop.Web.MvcApplication.Application_Start() in C:\Source\nopCommerce_2.60_Source\Presentation\Nop.Web\Global.asax.cs:line 86