Close

Profile: mrbombay

Avatar

User posts

10 years ago

Hey,

We are using some of your plugins on our website and homepage. We are using nopCommerce version 3.40 on a dedicated server with the following plugins installed on the website.

- 2 x Sliders (Nop Anywhere Sliders)
- 4 x JCarousel (Manufacturers, Bestsellers, Newest Products, Custom Carousel)
- 1 x Instant search
- 1 x Ajax Cart

When all of this is enabled, my homepage works very slow while the other pages are very fast.
I've did a test where i've copied the generated html and javascript into my homepage (plugins disabled), and those results are very fast with the same visual outcome. Is there a problem on the server side code?

Best regards,

11 years ago

Hi Nop-Templates.

I've read the documentation, but can't find how to add a slider to a specific manufacturer? Is this possible? I'm using nopcommerce 2.8.

Kind Regards

Hi Nop-Templates,

I'm using version 2.8 and did an update trough nuget on TelerikMVCExtensions. When i try to load my homepage with a slider i'm getting this error:

Kan bestand of assembly Telerik.Web.Mvc, Version=2012.2.607.340, Culture=neutral, PublicKeyToken=29ac1a93ec063d92 of een van de afhankelijkheden hiervan niet laden. De manifestdefinitie van de gevonden assembly komt niet overeen met de assembly-verwijzing. (Uitzondering van HRESULT: 0x80131040)

Kan een of meer van de gevraagde typen niet laden. Haal de LoaderExceptions-eigenschap op voor meer informatie.


Is there a way to correct this?

11 years ago

Hi Nop-Templates,

I'm testing the ajax filters on my fast local machine, and use mini-profiler to watch te load time. When i load my parent category from the main-menu (1200 products - products from subcategories included) i register a time of 0,5 seconds (after caching). When i filter the first time i'm getting a slow response after 31 seconds. The second filter has a response time of 25 seconds. This is way to slow to use in production. Could this be solved? These are the filters i use:



New

-New

Sale

-Sale

Main Color

-Cognac
-Zwart
-brons
-Wit
-Rood
-Beige
-Bruin
-Bordeau
-Blauw
-Grijs
-Taupe
-Multicolor
-Roze
-Fushia
-Kaki
-Oranje
-Zilver
-Camel
-Groen
-Geel
-Lichtblauw
-goud
-Paars
-Roestbruin

Extra Colors

-Groen
-Roze
-Wit
-Rood
-Beige
-Multicolor
-Grijs
-Zwart
-Blauw
-Oranje
-Camel
-Geel
-Fushia
-Zilver
-Bruin
-Goud
-Lichtblauw
-Violet
-Brons

Shape

-Plat
-Plateau
-Trechterhak
-Naaldhak/Sliletto
-Sleehak/Wedge
-Blokhak

Height

-tot 3 cm
-3 cm - 5 cm
-plat
-5 cm - 9 cm
-plateau
-hoger dan 9 cm

Inner Material

-Leer
-Overige
-Textiel

Material

-Imitatieleer
-Leer
-Lak
-Daim
-Textiel
-Kunststof

Cover

-Nee
-Ja

Season

-Lente / Zomer
-Geen seizoen
-Herfst / Winter

Size

-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-35,5
-35/36
-35/37
-36
-36,5
-36/37
-37
-37,5
-37/38
-38
-38,5
-38/39
-38/40
-39
-39,5
-39/40
-40
-40,5
-40/41
-41
-41,5
-41/42
-41/43
-42
-42,5
-42/43
-43
-44
-44,5
-44/45
-45
-46
-46/47
-47
-48

Manufacturers

-Mode-Mania
-Adidas
-Aigle
-Blink
-Bluehaven
-Brako
-Bullboxer
Caprice
Converse
Dockers
Ecco
Esprit
Fly Flot
Hush Puppies
La Strada
Marco Tozzi
Mustang
Nike
O'Neill
Puma
Replay
Rucanor
S. Oliver
Scapa
SPM Shoes & Boots
Tamaris
Terre Bleue
Tommy Hilfiger
Aco
Arthur & Aston
Birkenstock
Celtics
Gino Ventori
Klondike
La Plume
Napapijri
Reflexan
Bibob
Claudia Ghizzani
Jana
Poelman
Blenzo
Besik
Hot Ice
Alberto la torre
Gianni Gregori
Imac
Vicenza
Royalty
Christian Di Riccio
Anvers
Cebo
Moheda Toffeln
Rontani
Vidorreta
Lazamani
Minnetonka
Studio London
Ania
Hi-tec
oppus
JFK
Mexx
Harrykson
Avant 1iere
Le coq sportif
Shepherd
Sergio
Zapa Negra
New Balance

11 years ago

Hi Nop-Templates,

I use JAIL - image loading, and after filtering my images are not showing. So i think i have to call a function after the filter is done to activate my async image loading. Where should i do that, or what would be the solution?

At head of my website:


    // img async loaden
    $('img.lazy').jail({
        effect: 'fadeIn',
        placeholder: '/Content/img/img-loader.gif',
        loadHiddenImages: true
    });

Thx, That did the trick.

I've found something more, but still not working:



   <body bgcolor="white">

            <span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>

            <h2> <i>The JSON request was too large to be deserialized.</i> </h2></span>

            <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

            <b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

            <br><br>

            <b> Exception Details: </b>System.InvalidOperationException: The JSON request was too large to be deserialized.<br><br>

            <b>Source Error:</b> <br><br>

            <table width=100% bgcolor="#ffffcc">
               <tr>
                  <td>
                      <code>

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code>

                  </td>
               </tr>
            </table>

            <br>

            <b>Stack Trace:</b> <br><br>

    
            <br>

            <hr width=100% size=1 color=silver>

            <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929

            </font>

    </body>


  

Thx for the fast reply, but my site is currently running on localhost. Going to investigate it a bit further and if i don't find a solution, i will put  the problem online.

I am using nopcommerce 2.80 and Nop Ajax Filters 2.81. I've changed the global.asax and the same error keep popping up. I've changed the view - CategoryTemplate.ProductsInGridOrLines -  a little bit. The category-navigation looks like this. Could i be this change?


@section left {

    @*--------------------------------------------------------------------*@
    @*subcategories*@
    @*--------------------------------------------------------------------*@
    @{
        //current category ID
        int currentCategoryId = 0;
        if (Url.RequestContext.RouteData.Values["controller"].ToString().Equals("catalog", StringComparison.InvariantCultureIgnoreCase) &&
            Url.RequestContext.RouteData.Values["action"].ToString().Equals("category", StringComparison.InvariantCultureIgnoreCase))
        {
            currentCategoryId = Convert.ToInt32(Url.RequestContext.RouteData.Values["categoryId"].ToString());
        }

    }

    @Html.Widget("categorydetails_before_subcategories")

    @if (Model.SubCategories.Count > 0)
    {
        <div class="sidebar-block">
            <h5>@T("Categories")</h5>

            <ul class="sidebar-navigation">
                @foreach (var item in Model.SubCategories)
                {
                    <li>
                        <a href="@Url.RouteUrl("Category", new { SeName = item.SeName })">@item.Name</a>
                    </li>

                }
            </ul>
        </div>

    }
    else
    {
        if (Model.ParentCategories.Count > 0)
        {

        <div class="sidebar-block">
            <h5>@T("Categories")</h5>

            <ul class="sidebar-navigation">
                @foreach (var item in Model.ParentCategories)
                {
                    <li>
                        @if (currentCategoryId == item.Id)
                        {
                            <a href="@Url.RouteUrl("Category", new { SeName = item.SeName })" class="active">@item.Name</a>
                        }
                        else
                        {
                            <a href="@Url.RouteUrl("Category", new { SeName = item.SeName })">@item.Name</a>
                        }
                    </li>

                }
            </ul>
        </div>

        }

    }
}

Hi Nop-Templates,

I'm trying to configure the latest version of ajax filters on my website, but i get an error on the parent category page. I use the option - Include Products From Subcategories. On a child category it works fine. This is the error i'm getting:

POST http://localhost:60000/Catalog7Spikes/GetFilteredProducts 500 (Internal Server Error)


The parameters dictionary contains a null entry for parameter 'categoryId' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult GetFilteredProducts(Int32, SevenSpikes.Nop.AjaxFilters.Models.PriceRangeFilterSlider.PriceRangeFilterModel7Spikes, SevenSpikes.Nop.AjaxFilters.Models.SpecificationFilter.SpecificationFilterModel7Spikes, SevenSpikes.Nop.AjaxFilters.Models.AttributeFilter.AttributeFilterModel7Spikes, SevenSpikes.Nop.AjaxFilters.Models.ManufacturerFilter.ManufacturerFilterModel7Spikes, Nop.Web.Models.Catalog.CatalogPagingFilteringModel, System.String)' in 'SevenSpikes.Nop.AjaxFilters.Controllers.Catalog7SpikesController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.
Parameternaam: parameters