Close

Manual integration v2.8 or?

vedran
11 years ago
#1958 Quote
Avatar
  • 45
How to implement the filter on multiple category template (Products in Line or Grides, Products in Line or Grides1, Products in Line or Grides2, ...)?
Boyko
11 years ago
#1960 Quote
Avatar
  • 1570
vedran wrote:
How to implement the filter on multiple category template (Products in Line or Grides, Products in Line or Grides1, Products in Line or Grides2, ...)?


Hi vedran,

The Nop Ajax Filters use a template with exactly the same name as the Category template of the current category. By default in nopCommerce there is only one template - CategoryTemplate.ProductsInGridOrLines.
So the Filters have only one template:
Plugins\SevenSpikes.Nop.AjaxFilters\Views\Catalog7Spikes\CategoryTemplate.ProductsInGridOrLines.cshtml

If you have other category templates then you need to copy the existing one and to rename it to match the name of your template. You need to keep the new template in the same directory as the existing default one.
Plugins\SevenSpikes.Nop.AjaxFilters\Views\Catalog7Spikes\

Hope this helps!
Regards,
Nop-Templates.com Team
vedran
11 years ago
#1961 Quote
Avatar
  • 45
Its OK.
But haw to do it in two or more templates?
As in earlier version (manual integration)
vedran
11 years ago
#1963 Quote
Avatar
  • 45
Error
The log entry message.Short message:   The model item passed into the dictionary is of type 'SevenSpikes.Nop.AjaxFilters.Models.ProductsModel', but this dictionary requires a model item of type 'Nop.Web.Models.Catalog.CategoryModel'.
Boyko
11 years ago
#1965 Quote
Avatar
  • 1570
vedran wrote:
Error
The log entry message.Short message:   The model item passed into the dictionary is of type 'SevenSpikes.Nop.AjaxFilters.Models.ProductsModel', but this dictionary requires a model item of type 'Nop.Web.Models.Catalog.CategoryModel'.


Hi vedran,

When do you get this error?

Thanks
Regards,
Nop-Templates.com Team
vedran
11 years ago
#1972 Quote
Avatar
  • 45
Hello!

Error is solved
___________________________________________________________________
Now I have this
After making template in Plugins\SevenSpikes.Nop.AjaxFilters\Views\Catalog7Spikes
filter does not work

No results found.....
vedran
11 years ago
#1980 Quote
Avatar
  • 45
Hello

You have not forgotten me?
Answer?
Boyko
11 years ago
#1982 Quote
Avatar
  • 1570
vedran wrote:
Hello

You have not forgotten me?
Answer?


Hi Vedran,

We have not forgotten you :)
We just noticed that we have discussed the same issues with you several months ago in this forum topic.
We can't understand if you have the same problem now or it is a completely different matter as you are asking for the manual integration and we are a bit confused. If you have the Filters working then this means that you have already integrated them. You can also update your nopCommerce 2.8 installation with the latest version of the Ajax Filters 2.81. In the new version we have changed the old way the manual integration was done with a much better way of doing it via Widgets and custom widget zones. You can of course use some of the already defined Widget zones in the Filters. You can read about the new release here and please provide more info to what exactly you have done and when you get this error. If you can provide us with a link to investigate it will be best.

Have a nice weekend!
Regards,
Nop-Templates.com Team
vedran
11 years ago
#1986 Quote
Avatar
  • 45
Hello!
Solved!
The problem is in the installation of other plugins. Changes made in the Root/Catalog had to be re-made in their folders. Very impractical when you have a large number of changes to applications.
Thanks for you patience. Good job.