Close

Profile: Deni

Avatar

User posts

Bugs
9 years ago

skynopc56 wrote:
Running nop 3.4 with multiple stores. In the shoppingcartbox in the electronic theme if I add an item to the cart in one store, and then go to another store the count on the shoppingcartbox is not store dependent it always add up the total items in cart across all stores.  The built in shopping cart count above this works fine.  Is there a fix to this for the cart box to take into account items in cart for the store you are in?

Thanks


Hi, 

Thanks for reporting this! I will let you know when the fix is deployed and ready for download. 

9 years ago

DJ_Balogh wrote:
How can I remove the "Overview" tab from the quick tabs 


Hi, 

You can uncheck this setting in the Quick Tabs administration: Enable Product Full Description Tab.

9 years ago

DJ_Balogh wrote:
Is there a way to put products in the Mega Menu? Or if a category that's in the menu only has one product, have it redirect directly to that product page?

Thank you,


Hi, 

The Mega Menu does not have such functionality. You can suggest this feature it in our User Voice portal

Hi, 

If I got everything straight, you have a product AIR INTAKE. It is in category Engine >> Intake. It`s manufacturer is Subaru. Also it has specification attributes Model and Year. The problem comes from the Specification attributes, Because your Air Filter is mapped to all the specification attributes: "Impreza, Forester, 2004, 2005, 2006, 2007, 2008, 2009, 2010". You can not say combine the Model attribute with the Year attribute. So, I suggest you to do the following: 

I have seen many sites where the car parts search is made this way: 

Let`s say we search for air filter for my car: Honda Civic 1992.


The category is Engine >> Intake.

The manufacturer is Honda.

The model specification drop-down looks this way:

Civic (1987 - 1991)
Civic (1991 - 1995)
Civic (1995 - 2001)
Crx (1987 - 1992)
Crx (1992 - 1997)
Prelude (1986 - 1992)
Prelude (1992 - 1996)
etc.

Just remove the year specification and edit the options of the Model attribute. This way we combine the two required specification attributes - the model and the year. And now we can find our air filter without any problem.

I hope this helped !

9 years ago

kaka135 wrote:
Hi,

Can you guide me how to add the similar codes/functions in the home page as well? I am getting the error I mentioned earlier if I copied the same codes over to the home page, but I'd like to keep the AllShops page as well.

I need this function urgently, so I might not be able to wait until the integration feature is developed.

Thank you very much.

regards,
Lee Ka


Hi, 

I came up with an idea how to achieve it:

You can call the All Shops action anywhere on the home page - open the Index.cshtml view and place this code, where you want to show the Store Locator functionality:
@Html.Action("AllShops", "StoreLocator", new { isStoreLocatorCalledFromHomePage = true })

Now, go to the AllShops.cshtml view and find this row:
Layout = "~/Views/Shared/_ColumnsOne.cshtml";


Place this code right after it:
if (Url.RequestContext.RouteData.Values["isStoreLocatorCalledFromHomePage"] != null && bool.Parse(Url.RequestContext.RouteData.Values["isStoreLocatorCalledFromHomePage"].ToString()))
    {
        Layout = "";
    }


That is all !

ssikora wrote:
Thank you, that got it to display again. However, it is displaying as a drop-down menu item and I would like it to be just a link as it was originally. Any thoughts? Thanks.


Hi, 

Yes, just replace the old code with this one: 

<li><a href="@Url.RouteUrl("Topic", new {SeName = "AboutUs"})" title="@T("aboutus")">@T("aboutus")</a></li>

9 years ago

rjmart wrote:
Hi, how to remove picture from tab

here is my website

https://www.rj-mart.com/id/steelseries-9h-fnatic-edition

I want the tab is like this
http://demos.nop-templates.com/hp-probook

Thanks


Hi, 

To move the product picture out of the Quick Tabs, you have to follow these steps:

1. Go to All Settings and search for this setting: "tabsettings.enableproductpicturetab". Make its value to be "False" (if it is not).

2. Go to the theme administration and check this setting: "Alternative Product Page Layout".

That is all. I hope it helped!

9 years ago

dteglander wrote:
Hi, can you please update the 3.40 version as well?

Thanks


Hi, 

Sorry for the delay. We had merged the settings in v3.40 and they are ready for download. Just update your plugin to get the new features.

9 years ago

kaka135 wrote:
Thank you very much, but can I have it both in the homepage and also a separate page for All Shops page?

The requirements of my project include:
1) Having the Google Map and search function in Home Page.
2) Having another page to search for the shops.

Thank you for your advice.

regards,
Lee Ka


Hi, 

Yes, I thought you would like to have both functionalities. Unfortunately, at the moment the plugin does not have integration on the home page. You can suggest it in our user voice portal. I think we can plan it for development soon. I am not sure about one thing - the search functionality on the home page - I think its place is not there - just the map with the shops on it. Anyway - suggest it in the User Voice so other users can vote for it.

9 years ago

kaka135 wrote:
Hi again,

Can I have the Google Map (with search) and Shop List in the home page? 

I have copied the codes in AllShops.cshtml to another controller, then added to the Home page, but I got the following error:

An exception of type 'System.Web.HttpException' occurred in System.Web.dll but was not handled in user code

Additional information: Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper'.


Is there anything I've missed out? 

Please advise. Thank you.


Hi, 

You can achieve this functionality, by using the AllShops page, but you will lose it as a separate page - just change the code of the AllShops.cshtml view with the code I will give you. This should be done, because we remove the Layout of the page - otherwise it will show the header and all other stuff twice. Next, call the action somewhere on the page - for example above the footer - go to the /Views/Common/Footer.cshtml file and before this row: 
<div class="footer">

Place this code: 
@Html.Action("AllShops", "StoreLocator")


This is all. Here is the code for the AllShops.cshtml file (I have copied only the top part of the code, the rest stays the same):


@** Copyright 2015 Seven Spikes Ltd. All rights reserved. (http://www.nop-templates.com)
    * http://www.nop-templates.com/t/licensinginfo
*@

@using Nop.Core
@using Nop.Core.Infrastructure
@using Nop.Web.Extensions
@using SevenSpikes.Nop.Plugins.StoreLocator

@model SevenSpikes.Nop.Plugins.StoreLocator.Models.StoreLocatorModel
@{
    Layout = "";
    var supportRtl = this.ShouldUseRtlTheme();

    Html.AddCssFileParts("~/Plugins/SevenSpikes.Nop.Plugins.StoreLocator/Themes/" + Model.Theme + "/Content/StoreLocator.css");
    if (supportRtl)
    {
        Html.AddCssFileParts("~/Plugins/SevenSpikes.Nop.Plugins.StoreLocator/Themes/" + Model.Theme + "/Content/StoreLocator.rtl.css");
    }

    Html.AddScriptParts("~/Plugins/SevenSpikes.Core/Scripts/SevenSpikesExtensions.js");
    Html.AddScriptParts("~/Plugins/SevenSpikes.Nop.Plugins.StoreLocator/Scripts/StoreLocatorAllShops.min.js");
}

<div class="all-shops-page" style="clear: both;">