Close

Profile: Boyko

Avatar

User posts

11 years ago

mstuart wrote:

Here are the steps I have taken that have resulted in the error message "Loading the page failed."

Do you see anything wrong with the above steps?

Would you mind trying to do the steps and see if you receive the same error message "Loading the page failed."?


Hi mstuart,

The Ajax Filters use the same category template as the current category. So if your category template is this one CategoryTemplate.ProductsInGridOrLinesFilters.cshtml then you need to have  the same template for the Ajax Filters.
You have to copy and rename the template below to match the name of your category template:
Plugins\SevenSpikes.Nop.AjaxFilters\Views\Catalog7Spikes\CategoryTemplate.ProductsInGridOrLines.cshtml

Then the filters will find the correct template and use it.

Thanks

11 years ago

jburke wrote:
Your plugins are fantastic! I do have a quick question though. When I add a related products jcarousel, it works fine, however, the core nopcommerce "related products" also display on the page. How do I display only the jcarousel and remove the core nopcommerce related products list? I'm on 2.80 using the default clean theme.

Thanks!


Hi jburke,

Thank you for using our products and we are glad that you like them and find them useful!

To remove the core nopCommerce related products you need to modify the Product Templates in the Catalog folder and comment or remove this line:
 @Html.Action("RelatedProducts", "Catalog", new { productId = Model.Id })


There are two product templates that you need to modify (depending on which one you use you can edin only one of them):
Views\Catalog\ProductTemplate.SingleVariant.cshtml
Views\Catalog\ProductTemplate.VariantsInGrid.cshtml

Hope this helps!

11 years ago

drcomputer wrote:
Please open the link in internet explorer

http://www.istyle4u.com/amarican-diamond-3


error : Loading page failed

click on buy now button also giving the error loading page failed


Hi drcomputer,

We opened the page without any problems in IE9. What version of IE do you use? Please check if by any chance you have enabled the Compatibility view mode.

Thanks

11 years ago

mstuart wrote:
Ok... I figured out the second issue.... sort of.   This is more an issue with the
~/Views/Catalog/CategoryTemplate.ProductsInGridOrLines.cshtml

It only show products and the container <div> (product-list,  product-grid) when there are products assigned to that category.  So I need to make some adjustments.

Is there any documentation on the javascript processes?  

Specifically, I'm looking for how it populates the divs (product-list,  product-grid).  

I want to hide the sub-category-grid <div> when the filter returns results and show it again when all filters are cleared.

No sure which js include file and function(s) to look for.


Thanks again for all your help and patience.


Hi mstuart,

Sure you can do whatever changes you need in the Filters but please refer to the documentation and especially  the various selectors as they need to match your Html structure (if you make any changes to it).
About the subcategories and the Filters - there are two settings a nopCommerce one and one for the Ajax Filters. The nopCommerce one has nothing to do with the Filters and it basically says whether to show the products from the subcategories along with images of the subcategories themselve, which are always shown by default. If you enable this setting you will probably want to enable the same setting in the Ajax Filters, so that they can filter on the same set of products. But there is one important thing to note: The Ajax Filters will operate only on the products in the immediate subcategories and not in the next levels under them.  

You can hook to the Ajax Filter filtration completed event. Here is a sample code:
<script type="text/javascript">

$(document).on("nopAjaxFiltersFiltrationCompleteEvent", function () {
Add you logic here
});
</script>


Hope this helps!

11 years ago

mstuart wrote:

Hi mstuart,

It looks like there is a mismatch in the files. Please delete the whole AjaxFilters plugin folder and upload it again.
Thanks

Ok, I deleted the AjaxFilters plugin folder and copied it over again.  This did not fix the issue.  

Do I need to download another version?


Some additional information....

I have the custom widget for the AjaxFilters placed in /Views/Shared/_ColumnsThree.cshtml (in the right column)

_ColumnsThree.cshtml is being referenced by /Views/Catalog/CategoryTemplate.ProductsInGridOrLines.cshtml


Yes, you can download the package again just in case.
The templates shouldn't be a problem. Do you have a custom theme or you are using the DefaultClean theme? Please note that after selecting any of the filtering options the Ajax Filters return a view from here:
Plugins\SevenSpikes.Nop.AjaxFilters\Views\Catalog7Spikes\CategoryTemplate.ProductsInGridOrLines.cshtml

It is a partial view with the filtered products on which is passed a ProductsModel but the error says that a Category model is expected, which means that the wrong view is used maybe the default category template for some reason.
Please modify you Global.asax file by adding a few empty spaces in it and save it.

Thanks

11 years ago

drcomputer wrote:
Please help me for error
Log level:   Error
The log entry message.Short message:   The parameters dictionary contains a null entry for parameter 'productId' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult GetAddProductToCartAjaxButton(Int32, System.String, Boolean)' in 'SevenSpikes.Nop.Plugins.AjaxCart.Controllers.NopAjaxCartController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter. Parameter name: parameters


Hi drcomputer,

Please provide more information. When exactly do you get this error and on which pages? It would be best if you send us a link to your web site and we can take a look.

Thanks

11 years ago

mstuart wrote:
Ok... here goes...


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 mstuart,

It looks like there is a mismatch in the files. Please delete the whole AjaxFilters plugin folder and upload it again.

Thanks

11 years ago

mstuart wrote:
Thanks for getting back so fast.

Currently, I'm working on my local machine using Visual Studios 2012.  I'm working on a website redesign for a client and would like to demo the Ajax Filter to them.


Will attaching the "view source" help?



In that case please reproduce the problem again and then check you Log and tell us the error following these steps.

Thanks

11 years ago

mstuart wrote:
Hello,

I'm attempting to add the Nop Ajax Filters to a category page.  I followed all the steps in the documentation and the filters display correctly and look very nice.  However, I'm getting a message box "Loading the page failed." when clicking on any of the filters.

I only have the "Enable Specifications Filter" and "Include Products From Subcategories checked in the settings.

I'm using the trial version of 2.8.

What am I missing here?

Thanks in advance!

Mike


Hi Mike,

Please send us an email with a link to your web site, so that we can take a look.

Thanks

11 years ago

cicciuzzo wrote:
http://www.icircle.it/menu-jquery-dockbar-stile-mac/


Hi cicciuzzo,

Now I got it :) But I don't think this could be done with the JCarousel plugin. It should be more like a separate plugin but I don't see any real world usage for it. Have you seen a ecommerce web site where you have the products like this?

Thanks