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

Topics - tduffey

1
Hi Everyone,

First of all, I'm using KonaKart 5 community (I know...) with a completely customized KonaKart frontend (client). We have a few products that now have options and would like customers to be able to change those options at checkout. In our flow this happens after the checkout order has already been created, and although I can update the basket items (By removing the existing item and adding a new one w/selected option since BasketMgr.updateBasket() only allows changing the quantity) the Order Product entries in the checkout order do not get updated.

I worked around this by simply setting the "opts" field of the associated OrderProduct, e.g.,

            for (OrderProductIf orderProduct : checkoutOrder.getOrderProducts()) {
                if (orderProduct.getProductId() == item.getProductId()) {
                    orderProduct.setOpts(item.getOpts());
                }
            }


This seems to work, but I'm wondering if anyone knows if there are undesirable side effects? For what it's worth, our current set of product options do not impact pricing or any other attribute of the order besides getting the option in there.

Tom
2
Installation of KonaKart / Downloading older versions
August 05, 2013, 11:20:39 pm
Hi Everyone,

I need to download KonaKart 5.2.0.0 but can't find a link to the older releases anywhere. Help??

Tom
3
This is a pretty low-level request but we have a need to know which products are applicable to each OrderTotal instance, specifically for things like Product and BOGO discounts. However, I can see it being potentially useful information outside of those two. To implement this we created our own OrderTotalWithProducts class and then had to modify/replace your ProductDiscount and BuyXGetYFree classes to use and populate the OrderTotalWithProducts instances.

We need this information because we have to integrate with a third party fulfillment center that requires us to send the order details as XML. I'm sure every integration is different but this particular one requires us to adjust the prices of individual items when promotions are applied so we need the above details.

Our patch for this is against 5.2.0 but looking at the latest 6.3.0 order total code things look roughly the same so let me know what you think and if you'd like any code from us.

Tom
4
We are finding that when you add a second, third, etc. coupon to a promotion, the "times_used" field gets initialized to the value of the previous coupon.

So, if I create a coupon "test1" and use it 5 times, then come back to the admin tool and add another coupon "test2" the test2 coupon thinks it has already been used 5 times (Be sure you reload the admin tool after using the first coupon and before adding the second coupon).  It's like the coupon edit form is submitting the "times_used" value for the previous coupon.

This is happening in KonaKart 5.0.0 and 5.2.0.  I didn't try a more recent version but also didn't see this particular problem listed in the release notes.

Are we doing something wrong or us this an error?

Tom
5
Does anyone have a working example of a custom module using a FileUpload field?  I am trying to a create a new promotion with the ability to upload an image using the "FileUpload" set function.  This is very loosely described as an option in the Cod payment module.  However, when I add the field and create a new promotion I just get a text input, no upload button.

Where'd I go wrong?

Tom
6
I am digging through the javadocs but not finding what I need...

Is there some way besides writing a custom query to get a list of completed orders having some coupon and/or promotion code?

Tom
7
Feature Requests / KKAppEng should be serializable
June 24, 2010, 04:10:04 pm
The intent seems to be to store KKAppEng in the user's session but it does not implement java.io.Serializable.  This causes problems when KK is integrated into other applications that are marked distributable and the underlying servlet container (Tomcat, in my case) enforces all session attributes be serializable.  Can KKAppEng be updated to implement java.io.Serializable?