Close

Profile: Valentin

Avatar

User posts

5 years ago

toanhnt wrote:
Hello guys,
Is there a way that I can show my Jcarousel products in category of my choice ?

Hello,

Unfortunately, there is no such functionality in the JCarousel plug-in.

Still, there is something that can be done, but it is not highly recommended:

Lets say you use this widget zone: "categorydetails_top"

Inside the file(check if it is overridden in the theme folder): Views/Catalog/CategoryTemplate.ProductsInGridOrLines.cshtml

find this line:

@Html.Widget("categorydetails_top", Model.Id)


and replace it with these:

@{
  var categoryIds = new List<int> { 2, 3, 4 }; // Inside the curly brackets you can list all category IDs, comma separated

  if (categoryIds.Contains(Model.Id))
  {
    @Html.Widget("categorydetails_top", Model.Id)
  }
}



Hi, how to achieve this with new version nop4.0? Thanks


Hello toanhnt,

in order for the code, you already have to work in version 4.0 you need to replace this line of code:

@Html.Widget("categorydetails_top", Model.Id)


with this line of code:

@await Component.InvokeAsync("Widget", new { widgetZone = "categorydetails_top", additionalData = Model.Id })

Leave the rest the same and everything should work normally.

Thanks, it works great. One last question. How to add 2 widget zones or more with the same method ablove?


Hello again toanhnt,

to achieve this, use the same line of code but change the name to the widget you want to use and add it underneath, like so:


@{
  var categoryIds = new List<int> { 2, 3, 4 }; // Inside the curly brackets you can list all category IDs, comma separated

  if (categoryIds.Contains(Model.Id))
  {
    @await Component.InvokeAsync("Widget", new { widgetZone = "categorydetails_top", additionalData = Model.Id })
    @await Component.InvokeAsync("Widget", new { widgetZone = "NAME_OF_OTHER_WIDGET_ZONE", additionalData = Model.Id })
  }
}


That is if you want to show them one after another, or if you want it on a different location you can call it separately like so:


@{
  var categoryIds = new List<int> { 2, 3, 4 }; // Inside the curly brackets you can list all category IDs, comma separated

  if (categoryIds.Contains(Model.Id))
  {
    @await Component.InvokeAsync("Widget", new { widgetZone = "NAME_OF_OTHER_WIDGET_ZONE", additionalData = Model.Id })
  }
}


Just have in mind that you can use the already existing widget zones for this to work.

Hope this was helpful.

Emporium
5 years ago

mohsenmon wrote:
Hello
In the emporium theme when buying and registering a new address, if the page does not enter the relevant page closes and the customer does not understand. How does this resolve?
thanks


Hello mohsenmon,

can you be a bit more specific - in what scenario the page "does not enter"?

When adding a new address, if there is an error with the information the page does not reload until you fix the errors and the form stays visible. And if everything is entered correctly then you go to the next step of the checkout process.

Sticky Menu
5 years ago

mtwaynew wrote:
My clients and I have purchased both the Venture and Emporium themes, and would like to make these menus sticky as well.  I tried the code insertions above but they had no effect.

Can you help us?

Thank you!

Wayne


Hello Wayne,

the method described here is concerning a different theme and since most of the themes have different layout it cannot work in your case.

We saw that you submitted a ticket and we just replied to it, let us communicate there.

5 years ago

toanhnt wrote:
Hello guys,
Is there a way that I can show my Jcarousel products in category of my choice ?

Hello,

Unfortunately, there is no such functionality in the JCarousel plug-in.

Still, there is something that can be done, but it is not highly recommended:

Lets say you use this widget zone: "categorydetails_top"

Inside the file(check if it is overridden in the theme folder): Views/Catalog/CategoryTemplate.ProductsInGridOrLines.cshtml

find this line:

@Html.Widget("categorydetails_top", Model.Id)


and replace it with these:

@{
  var categoryIds = new List<int> { 2, 3, 4 }; // Inside the curly brackets you can list all category IDs, comma separated

  if (categoryIds.Contains(Model.Id))
  {
    @Html.Widget("categorydetails_top", Model.Id)
  }
}



Hi, how to achieve this with new version nop4.0? Thanks



Hello toanhnt,

in order for the code, you already have to work in version 4.0 you need to replace this line of code:

@Html.Widget("categorydetails_top", Model.Id)


with this line of code:

@await Component.InvokeAsync("Widget", new { widgetZone = "categorydetails_top", additionalData = Model.Id })

Leave the rest the same and everything should work normally.

Mega Menu
5 years ago

Barry Beckham wrote:
I am using a Mega Menu mixing product categories with Page content. They work perfectly when viewed live on a PC, but the content page Categories and subcategories are not seen on an iPad.

I'm not a web professional, so be gentle on me if you have any suggestions on what the issues are



Hello Barry,

could you perhaps give us some screenshots with comments of what the issue is so we can better understand and give you an explanation or reproduce it on our side?

Also, it would be helpful if you could give us a link to your store so we can see the exact situation.

Looking forward to your answer!

bhavikm20 wrote:
Can it be possible to show om home page header? It is very convenient for user point of view.


Hello again bhavikm20,

unfortunately - no, you cannot show it on home page only. This would be a serious customization to the theme`s styling and markup.

Hope this answers your question.
Have a nice day!

6 years ago

bhavikm20 wrote:
Right now Emporium has a grey colour font in all pages but I want to change it with black font. how Can I do this?


Hello bhavikm20,

unfortunately, you cannot change the font color.

This is an overwhelming task since it would require for you to go through the entire theme`s styling and changed the values for only the texts that are using the grey color. And this has to be done all by hand since the same color is used in other elements of the theme, too.

Hope this answers your question.

prisma menu
6 years ago

develalexandr wrote:
Hello! We would like to create our website using NOP TEMPLATES. We sell furniture and home accessories. We choose Prisma for our store. But we have a question about it's categories... It looks like in "Kitchen" and other main categories there are just 4 subcategories :  Kitchen Cabinets, Dinning Tables & Chairs, Utensils, Dinning Set. Can we add more subcategories there and how much?


Hello develalexandr,

yes, you can as many sub-categories as you wish, you need only to edit your menu`s settings to show whatever number you like. Please look at the attached image.


6 years ago

lllambias wrote:
Hi, I have nopCommerce installed with several stores running other nop-templates themes (Motion and Allure). Mega Menu works ok with them. I have just created a new store with Poppy theme, and when creating a menu for that store it is not displayed. Tried using a menu that works on other store, and it is not displayed either. No error logged. When I disable mega menu and enable nop menu to display Home, Contacts, Main categories, etc. nop menu is displayed correctly.

NopCommerce version 3.9
Poppy theme version: SevenSpikes.Theme.Poppy, Version=3.9.425.23986
Mega Menu version: SevenSpikes.Nop.Plugins.MegaMenu, Version=3.9.425.23986

Any ideas?

Thanks!



Hello lllambias,

please submit a ticket for this issue and include a link to your store and admin credentials for it so we can investigate what the issue might be.

Do not post your credentials here because other users will be able to see them too!

Bugs
6 years ago

Redby wrote:
Hi,

we would like to use Prisma theme for our NopCommerce eshop. We already purchased this theme, but during implementing we found this bug.

In ProductReview view during writing review there is a problem with rating stars. For example if I click on 4 stars, only two are hilighted, click on 5 stars is hilighting only one star etc. When I submit review the correct number of stars is stored in db.

We are using version 4.0 of NopCommerce and the latest theme. I looked at version 4.1 which is using different view code. If I will replace element for rating with element from version 4.1 then it is working fine, only with wrong styles.

For me it looks like a bug. Can you give me some info how to fix it.

Thank you


Hello Regby,

thank you for pointing that out.

We have released an update for version 4.0 with the product reviews fixed.

You can safely update your Prisma theme and the Quick Tabs plugin and everything should work normally.