• Welcome to KonaKart Community Forum. Please login or sign up.
 
October 06, 2025, 09:00:18 am

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 - darko.spasovski

1
Quote from: trevor on September 13, 2011, 09:43:59 am
At the moment, through the API you can get a list of products belonging to a bundle. There isn't an API call to get a list of bundles for a product although you could do it with a custom API call with a query on the products_to_products table.


Thanks for your quick reply, I appreciate it.

Can you  point me to some examples of a custom API call doing queries to the KK database?  I am just starting with Konakart and would really make use of some pointers.

Thanks again,
Darko
2
Hi all,

I need some help getting all bundles (i.e. bundle products) in which a product belongs to.

From what I saw so far, Konakart provides getRelatedProducts()

http://www.konakart.com/javadoc/server/com/konakart/appif/KKEngIf.html#getRelatedProducts(java.lang.String, com.konakart.appif.DataDescriptorIf, int, int, int)

However, it is not clear what will happen if the specified product belongs to several different bundles? How can I make the distinction between which sets of products belong to which bundles?

Is this the right API call, or am I missing something?

Thanks,
Darko