Close

Profile: hristian.dimov

Avatar

User posts

10 years ago

jerrydev wrote:
I bougt the theme ad uploaded the plugin in hosting
I can see the list plugin but when i click install them nothing happen and i can not install them


Hi,

please double-check if the SevenSpikes.Core plugin is installed. You can't install any other plugins before Core plugin.

Please read more information of how to install a plugin in our documentation: http://www.nop-templates.com/how-to-install-a-nopcommerce-plugin

10 years ago

simon.andersson wrote:
Hey,

I'm trying out the trial version of the Ajax FIlters but I can not get it to work. First of all, the filter plugin not even rendering the Price range filter option even if it is set to true in the Ajax Filter plugin and even if the price range is set for the category. However the Specification attributes is rendering but when trying to use the filter I get an error alert window telling me "Loading the page failed".

When I look in the network tab in Chrome I can see a server error in Catalog7Spikes/GetFilteredProducts with the following stack trace:


Hi Simon,

You have probably modified the constructor of the Catalog controller. Please use properties ( property injection ) instead of parameters in the constructor of the Catalog controller as described in this post.

nopmstr2014 wrote:
Hi All
manufacturer/all page
is not displaying manufacturer name under manufacturer image.
Like products can we display manufacturers name under the manufacturers image in manufacturer/all page?

Thanks


Hi nopmstr2014,

by design the name of the manufacturer is hidden. If you want to show it, please add this css code to your Custom Head Styles in the Administration -> Plugins -> Nop Nitro Theme:

.item-box .manufacturer-item .title {
    display: block;
}


If you need to show the name under the image, you will need to edit the Themes/Nitro/Views/Catalog/ManufacturerAll.cshtml view.

Hope this helps!

10 years ago

[email protected] wrote:
I want to show the slider on the home page in Left_side_Column_before
And in some categories but not them all.

If i select one or more categoris to have the slider shown, it will not be on the homepage.


This scenario is not possible. But there is an alternative:

1. You will need to create a slider which will be shown only in the desired categories. Create a condition groups with condition statements for this case.
2. Create the same slider as previous and follow these steps from our documentation / this way the second slider will be shown only on home page /

10 years ago

nopmstr2014 wrote:
Thanks for you reply
Would you able to provide default ConditionProperty for these  ConditionType

  Default
  Manufacturer
  Category
  Product
  Customer


We are trying to push text into ribbon table using stored procedures

Thanks


Manufacturer:
public enum ManufacturerConditionProperty
{
    Default = 0,
    Name = 1
}


Category:
public enum CategoryConditionProperty
{
    Default = 0,
    Name = 1
}


Product:
public enum ProductConditionProperty
{
    Default = 0,
    Category = 1,
    Manufacturer = 2,
    ProductAgeHours = 3,
    DiscountAmmount = 4,
    DiscountPercentage = 5,
    PriceDifferenceAmmount = 6,
    PriceDifferencePercentage = 7,
    MinPrice = 8,
    Quantity = 9,
    PreOrder = 10,
    FreeShipping = 11,
    HasSpecialPrice = 12
}


Customer:
public enum CustomerConditionProperty
{
    Default = 0,
    UserName = 1,
    Email = 2,
    IsLoggedIn = 3,
    IsInRole = 4,
    IsNotInRole = 5
}


I would suggest you to insert 1 test ribbon with a condition to see what are the necessary table records that needs to be inserted .

Hope this helps!

10 years ago

nopmstr2014 wrote:
Hi Everyone
This is about SS_C_ConditionStatement table which is used by Product Ribbons .

There are different values in columns

CondtionType - Ex 0,2,4,5 etc
ConditionProperty - Ex- 0,1,2,4,5,8,9,11,18 etc
OperatorType
- Ex - 0

Could anyone please explain what these values are ?

Thanks in advance


Hi nopmstr2014,

Is there a reason that you need this? It is a system information that our plugins use.

Here is how the enumerations looks like:

CondtionType:
public enum ConditionType
{
  Default = 0,
  Manufacturer = 1,
  Category = 2,
  Product = 3,
  Customer = 4,
  ProductSpecification = 5
}


OperatorType:
public enum OperatorType
{
  EqualTo = 0,
  NotEqualTo = 1,
  Contains = 2,
  DoesNotContain = 3,
  LessThan = 4,
  GreaterThan = 5,
  LessThanOrEqualTo = 6,
  GreaterThanOrEqualTo = 7
}


The ConditionProperty depends of what ConditionType you have selected.

Bugs
10 years ago

radoslavy wrote:
Hi,
I've got the following error in my log:
Short message:  A public action method 'GetSpecification' was not found on controller 'SevenSpikes.Nop.Plugins.AjaxFilters.Pro.Controllers.AjaxFiltersProSearchController'.
The details for the log entry.
Full message:  System.Web.HttpException (0x80004005): A public action method 'GetSpecification' was not found on controller 'SevenSpikes.Nop.Plugins.AjaxFilters.Pro.Controllers.AjaxFiltersProSearchController'. at System.Web.Mvc.Controller.HandleUnknownAction(String actionName) at System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

The same error is repeated for 'GetManufacturers' and 'GetCategories' any ideas ?


Hi radoslavy,

please submit a ticket with more information about what are you trying to do and what is your nopCommerce / product version.

Custom Rules
11 years ago

nicolasmuniere wrote:
Hi, I have two questions :

- Is it possible to implement a custom rule in app_code folder? I would like to avoid creating a plugin just for that.

- Could you provide the linq query that is used in UnpaidOrdersReminderRule, because I need to create UnpaidByCheckOrdersReminderRule and I'm not able to start the query.

Thanks
Nicolas


Hi Nicolas,

You can implement a rule without creating a plugin, but you will need to register you rule in some DependencyRegistrar file.

Example:

builder.RegisterType<UnpaidByCheckOrdersReminderRule>().As<IReminderRule>().InstancePerLifetimeScope();


About the UnpaidOrdersReminderRule query, please submit a ticket.

NADIELY wrote:
Sometimes I got this error in LOG.

Filters appear to work. I dont know if works when error occurs.

Can you help?

System.InvalidOperationException: The JSON request was too large to be deserialized.


Hi Nadiely,

Please refer to this post for the fix.

Custom Rules
11 years ago

IvanSlater wrote:
Thanks!

Last question.

Do I have to set an exclusive Guid for the Id property or I can use return new Guid() ?


You can use the visual studio built-in tool for creating a new GUID. Just go to Tools -> Create Guid.

It will generate you a GUID, which you can place it in the constructor, example:

public Guid Id
{
  get
  {
    return new Guid("3BF7F2D0-2907-4CBA-8A51-57576D490F60"); // you can replace it with your generated guid
  }
}