Close

Profile: IvanStoyanov

Avatar

User posts

RoyalAquariums wrote:
Thanks! That got it working!

Is there a newsletter or something I can subscribe to so I can hear about all the latest updates?


Hi RoyalAquariums,

I am glad that everything is working.

Yes there is a newsletter. You can subscribe to it in the newsletter box in the footer.

Best regards,

Ivan Stoyanov

RoyalAquariums wrote:
Hello,

On version 2.8 the block that says "There are 2 items in your cart. " to the right of the search area is not being updated with ajax when you add an item to your cart.

The notification bar is coming up correctly as well as the Shopping Cart(2) text is being updated but the other box will not change until the page has reloaded.

I have tried this on my current install of the site, as well as a fresh install of version 2.8 and am seeing the same issues.

Does anyone know how to fix this?

Thanks!


Hi RoyalAquariums,

The thing is that we added a new feature to the Ajax Cart plugin - widget support. Implementing this feature required changing some of the settings.

Please download the package from our website. Go to your nopCommerce folder /Plugins/ and delete the SevenSpikes.Core and SevenSpikes.Nop.Plugins.NopAjaxCart folders.
Paste the same folders from the package to the /Plugins/ folder and restart your nopCommerce application.

Best wishes

Ivan Stoyanov

11 years ago

atzmonca wrote:
hi, when i install plugin there is in admin menu new node with the plugin setting and "help" link
i want to remove the help link for all my plugins i bought from you. how can i do that?


Hi atzmonca,

You need to add the following setting and set it to true SevenSpikesSettings.HidePluginHelpMenu

Best wishes

Ivan Stoyanov

11 years ago

garrie007 wrote:
Hi,

I have done the required changes but its still not working, code and photo below.

Category setting:

Main cat: Products and both sub cats use Products as main parent category.

Menu picture:


Admin settings:




<ul>
                        @{var categoriesCounter = 0;}
                        @foreach (var subCategory in category.SubCategories)
                        {
                            if (categoriesCounter == megaMenuSettings.NumberOfCategories && megaMenuSettings.NumberOfCategories != 0)
                            {
                            <li><a class="view-all" href="@Url.RouteUrl("Category", new { categoryId = category.CategoryModel.Id, SeName = category.CategoryModel.SeName })">@T("SevenSpikes.MegaMenu.ViewAllCategories")</a>
                            </li>
                                break;
                            }                        
                            <li><a href="@Url.RouteUrl("Category", new { categoryId = subCategory.CategoryModel.Id, SeName = subCategory.CategoryModel.SeName })">@subCategory.CategoryModel.Name</a>
                                <ul>
                                    @foreach (var subCategory1 in subCategory.SubCategories)
                                    {                                        
                                        <li><a href="@Url.RouteUrl("Category", new { SeName = subCategory1.CategoryModel.SeName })">@subCategory1.CategoryModel.Name</a></li>
                                        <li><a href="@Url.RouteUrl("Category", new { SeName = subCategory1.CategoryModel.SeName })">@subCategory1.CategoryModel.Name</a></li>
                                        
                                    }
                                </ul>
                            </li>
                                    categoriesCounter++;

                        }
                    </ul>




Regards


Hi garrie007,

What does  list item1 means?
The code that I gave you works if list item1 is a subcategory of Sub B for example.
I can see from your website, that you have only 1 level of subcategories (top level category => subcategory) the code will work for top level category => subcategory=> subcategory

11 years ago

hideme wrote:
Hello Ivan, you are correct. I use 2.6, it's possible to  install a newer version of your products if i run 2.6 version of nopCommerce? till what version of the templates and plugins?  

What's the best way to edit and update the code of the plugins? because i can't saw it in the nopcommerce project, simple add existing and then compile with the solution?

Thank you.


Hi hideme,

When you download the package from our website the version of the plugins and themes in the package is the latest version. In the main package you can see different packages for different versions of nopCommerce. You need to use the package for your version. (for example you can not use 2.8 package of our plugins/themes on 2.6 installation of nopCommerce. You need to use 2.6).

In order to edit and update the code of the plugins you can use Visual Studio, Notepad, Notepad ++ or any other text editor.
Do not add the plugins to the solution, because they are already compiled. Just open the file that you want to edit, make your changes and save the file.

NOTE: If you are working locally with the full source code, copy the plugins to the /Presentation/Nop.Web/Plugins folder. If you are working with deployed website or the builded version of nopCommerce copy the plugins to the Plugins folder.

Best regards,

Ivan Stoyanov

11 years ago

garrie007 wrote:
Hi,

I tried adding extra main cats and sub cats but to no avail, do you have any examples.

Just getting back into development after last doing it when asp.net 2.0 first came out so a little rusty.

Regards

Garrie


Hi Garrie,

Go to /Plugins/SevenSpikes.Nop.Plugins.MegaMenu/Views/MegaMenu and open the CategoryMenuTemplate.WithoutPictures.cshtml view.

Go to line 90 and after the following code:
<li><a href="@Url.RouteUrl("Category", new { SeName = subCategory.CategoryModel.SeName })">@subCategory.CategoryModel.Name</a>


paste this:

 <ul>
                                    @foreach (var subCategory1 in subCategory.SubCategories)
                                    {
                                        <li><a href="@Url.RouteUrl("Category", new { SeName = subCategory1.CategoryModel.SeName })">@subCategory1.CategoryModel.Name</a></li>
                                    }
                                </ul>


your code should look like this:

<li><a href="@Url.RouteUrl("Category", new { SeName = subCategory.CategoryModel.SeName })">@subCategory.CategoryModel.Name</a>
                                <ul>
                                    @foreach (var subCategory1 in subCategory.SubCategories)
                                    {
                                        <li><a href="@Url.RouteUrl("Category", new { SeName = subCategory1.CategoryModel.SeName })">@subCategory1.CategoryModel.Name</a></li>
                                    }
                                </ul>
                            </li>

NOTE: This will work only when Show categories in a single menu setting is disabled and the Category menu template is set to Categories in list.

Ivan Stoyanov

11 years ago

hideme wrote:
Hi, I found another text that I can't translate, is in the ajax cart, the windows that shows the items (the notification box), I can't translate the label of the "checkout" button.

I changed all other labels with:

SevenSpikes.NopAjaxCart.ShoppingCartNotificationBoxViewYourBasket
SevenSpikes.NopAjaxCart.ShoppingCartNotificationBoxContinueShopping
SevenSpikes.NopAjaxCart.ShoppingCartNotificationBoxTitle
SevenSpikes.NopAjaxCart.ShoppingCartNotificationBoxQuantity

And replace the close-window.gif with one without the label, but i can't find any resourceName for the checkout button.

Could you give me a tip for this?

Thank you.


Hi hideme,

It appears that you are using an older version of nopCommerce (I presume 2.6). The Search and Checkout button resources was not localized in that version, but we localized them in the newer versions. BTW you did great localizing the Search button.
In order to localize the Checkout button on the Ajax Cart you need to go to /Plugins/SevenSpikes.Nop.Plugins.NopAjaxCart/Views/NopAjaxCartShoppingCart and open the ProductAddedToCartPopupDialog.cshtml view. Go to line 41 and change the value attribute of the input from "checkout" to "@T("Checkout.Button")". After that you need to localize this resource and you are ready.

If you have more questions do not hesitate and ask.

Have a wonderful day.

Ivan Stoyanov

11 years ago

hideme wrote:
Hello, Ok, thank you.

Could you give me the LocaleStringResource.resourcename of the token, because searching in the admin for that token is realy difficult, so i prefere changing in the database directly.

Thank you .


Hi hideme,

The resource name is "search".

11 years ago

sadecechvy wrote:
Hi,

I have nop 2.60 installed and have the same error. Whenever I put the plugin folders in the /Plugins folder, I get this error. I have tried so many solutions or workaround you mentioned before but I can't get rid off this error.

I followed the instructions in the link (http://www.nopcommerce.com/boards/t/17455/load-plugins-based-on-their-displayorder-on-startup.aspx)

and I tried copying SevenSpikes.Nop.Core.dll, SevenSpikes.Nop.Framework.dll, SevenSpikes.Nop.Services.dll into the "SevenSpikes.Nop.Plugins.CategoriesHeaderMenu" folder (this folder throws exception as others do)

Can you suggest me another solution ?


Hi sadecechvy,

First delete all folders that begin with SevenSpikes from your plugins folder.
After that go to our website and download the package, extract it in the Plugins folder if your website is live or you are using the (no source code) version of nopCommerce. If you are using the source code version and making changes to nopCommerce you need to extract the package in the Presentation/Nop.Web/Plugins folder.
NOTE: Make sure that the extracted plugin folders are on the same level as the other plugin folders. For example in the [b]Plugins folder our plugins folders names need to start with SevenSpikes and not be in another Plugins folder.[/b]

Go to the Global.asax file, open it, add some spaces after the code (this is needed in order to restart your website) and save the file.

After that go to the administration of your website Configuration=>Plugins click on the Reload list of plugins button and install first the Core plugin and after that the Categories Header Menu plugin.

11 years ago

garrie007 wrote:
Hi,

Just purchased your NopMegaMenu for NopCommerce 2.65 after giving it a trial and really like it, got it set nicely but what i a m trying to acheive, dont know if possiable out of the box or not? but this is what i am trying to do:


Categories:

A                  B                   C                       D                       E                         F
                                          |
                                          |
                                          Sub A              Sub B             Sub C                             Manufact List
                                          list item1          list item1         list item1                         list item1
                                          list item2          list item2         list item2                         list item2
                                          list item3          list item3
                                                                  list item4
                                                                  list item5





how do i do this?

Kind regards

Garrie

ps. if you require any info like order number etc let me know.





          


Hi garrie007,

To do this you need to edit the CategoryMenuTemplate.WithoutPictures.cshtml view located at /Plugins/SevenSpikes.Nop.Plugins.MegaMenu/Views/MegaMenu.

The MegaMenuCategoriesModels that is used in it contains a
IList<MegaMenuCategoryModel>
  The MegaMenuCategoryModel contains:
public CategoryModel CategoryModel

        public IList<MegaMenuCategoryModel> SubCategories

        public IList<ManufacturerModel> CategoryManufacturers

        public IEnumerable<ProductOverviewModel> BestSellerProducts


You can use the model in the view to display as many categories and sub-categories as you want.

Ivan Stoyanov