• Welcome to KonaKart Community Forum. Please login or sign up.
 
June 28, 2025, 07:58:22 pm

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - rcpp

1
Good morning, all

After two days struggling with Solr and KK, I was able to put it to run on my store. However, every time I activate Solr through the admin panel and go to my store, it breaks the product listing. This is what I get:


11-Jun-2015 12:21:11.772 SEVERE [http-nio-8080-exec-20] org.apache.catalina.core.ApplicationDispatcher.invoke Servlet.service() for servlet jsp threw exception
com.konakart.app.KKException: Cannot perform a search returning custom facets because either SOLR hasn't been enabled or the search contains criteria for calculating overlapping bookable products.  SOLR cannot be used in these cases.


I tried to follow the instructions on the doc to add facets, but I simply cannot find the corresponding screens (maybe different versions?).  I can do a query through Solr admin panel, which returns products without any trouble. I've tried to set ProductSearch (using isForceSolr and/or isReturnCategoryFacets)  to use Solr, but nothing seems to work. Do I have to reimplement the default class, as in the API example?

My KK version is: 6.5.1.0


Thank you in advance
2
Dear board,

I have this issue: Products that are on sale (have special price) cannot have a discount for promotion (in this case, ot_product_discount). This promotion is available only to a few users, which is the easier part of this issue.

I've thought about adding every product with special price to the exclude table, but that would need a background script to update this table every time a new product have been put on sale. This can lead to some problems I'd like to avoid.

So, I thought about creating a method to just remove the discount from these products on sale. And that is where I'm stuck.

How and where I can tell Konakart to not apply this discount? I'm able to check if the product has a special price, but I'm failing to apply this temporary rule.

I've looked at the documentation, and I think my path would pass by PromotionIf and OrderProductIf. But I'm not good with Java and I'm having some troubles using these intefaces. What I'm not able to accomplish, is telling Konakart to temporary add a product to the Exclude list/rule.

If there is any example I could read, I'd be really thankful.

Thank you in advance!