• Welcome to KonaKart Community Forum. Please login or sign up.
 
May 03, 2024, 01:10:58 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.

Topics - tms

1
Feature Requests / Sort order on content
January 19, 2021, 11:34:58 am
Hi!

It would be great if you could define sort order for content in Konakart, or sort content by some field.

Example:
When fetching content by type all content which match the type would be returned sorted in the order which is defined by a "sort order" field on content (similar to the modules sorting)

or

ContentSearchIf would give the option to sort by custom field, or some other field.

I would prefer adding a "sort order" field on all content  :)
2
Hi.
We have couple of custom schedulers running, some take 1 minute to complete, others might be running as long as 40 - 80 minutes.

One of the long running job (30 + minutes) times out, the session is destroyed and the task fails.

So the question is, what is the best way to keep the session alive while the task is running.
As a workaround I start a heartbeat thread that calls KKAdminIf's checkSession with the jobs session ID every 5 seconds.

Is there some better alternative we should explore ?
3
Hi.
We assume that attribute templates are used to compare products.

Also that if a product content source is used, like http://icecat.biz/, the information coming from it can be mapped to the attribute template(s). 
As these content sources contain categories that would be useful to have as a part of a tag group, is there a way for a user to define which attribute (coming from the attribute template) can be defined as a tag as well ?

Has any of your clients used icecat or similar content sources in their projects ?
4
Hi.

Is it possible to configure tag groups so that selection within them uses AND conditions instead for OR conditions ? 

Examples would include connectivity options, bluetooth, NFC, USB (a user may want a phone that has all those attributes and narrow the results to phones that fulfill those requirements).
5
Feature Requests / Pseudo categories
November 25, 2015, 12:47:02 pm

In KonaKart the categories are based on a parent/child relationship.

We are looking to create a category structure where we have multiple ways to get to the same category
in order to avoid having to create and maintain identical categories.

Example 1:
Common computer accessories include bags, power supplies and headphones (that belongs to Sound category in this case).
One possibility would be to use one of the custom fields in the categories common data to express relationship between one or more categories.

Computers
|--------- Accessories (custom1: 100)
           |-Bags
           |-Power-supply
       
Sound     
|-----------Headphones (ID: 100)

Example 2:
Another way might be to create pseudo category that inherits tag-groups and products from the specified category, in this example headphones.

Computers
|--------- Accessories
           |-Bags
           |-Power-supply
           |-Headphones(custom1: 100)
                |
                |
Sound     |
|-----------Headphones (ID: 100)

Is this something that you know that has been implemented by your customers ?
If so, you might have given them pointers, could you point us in the direction on where would be the best way to implement this (CategoryMgr ?)
also what class(es) we would need to keep in mind on the store-front side.

Last but not least, isn't this something that could qualify as a core feature in KonaKart ? We are actually quite surprised
that this is not a core feature already since this is pretty common scenario in online stores.

Best regards.
Bjarni
6
Hi.
I am trying to add an array of AdminTag using the AdminTagMgr. I am extending BaseApiExample.java

List < AdminTag > adminTags = new ArrayList < > ();

lookupConsumer.getChildren().forEach(child - > {
    System.out.println(child.getName());
    AdminTag adminTag = new AdminTag();
    adminTag.setName(child.getName());
    adminTag.setLanguageId(AdminLanguageMgr.DEFAULT_LANG);
    adminTag.setTagGroups(new AdminTagGroup[] {adminTagGroup});
    adminTags.add(adminTag);
});

try {
    AdminTag[] arr = adminTags.toArray(new AdminTag[adminTags.size()]);
    adminTagMgr.insertTags(sessionId, arr);
} catch (Exception e) {
    System.out.println(String.format("Unable to add tags: %s", e));
}


When I run this, only the first tag is saved, even though they have completely differnt names. Adding tags with the same name in the admin application is no problem so I do not understand why this is failing.
I have removed all languages but the default English.


com.konakartadmin.app.KKAdminException: Exception Message = (org.apache.torque.TorqueException) - org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "kk_tag_pkey"
  Detail: Key (tag_id, language_id)=(4, 1) already exists.


Do I need to fill out the ID of the AdminTag my self ? Shouldn't the AdminTag's ID be created automatically on insert ?