• Welcome to KonaKart Community Forum. Please login or sign up.
 
May 07, 2024, 04:17:38 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 - 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
One more bit of information...it appears the "times used" is being copied from whatever coupon was previously selected in the admin UI.  So, if you select a coupon with X uses and then click new, the newly added coupon will also have X uses.  Our workaround for this problem is to make sure we have a coupon with 0 uses and always select that one first but this is far from ideal.

Tom
5
This same thing seems to be happening when adding a coupon through the main coupons page, i.e., not by first selecting a Promo and then going to Coupons.

Inside Marketing -> Coupons if I add a new coupon it ends up having the same "times_used" value as the first one in the list!

Tom
6
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
7
Understood, and we definitely need the ability to upload...so into Magnolia the content goes.
8
I'm confused.  According to kate the "set functions" don't work with promotions but you seem to be implying that they do?  I tried it and did not get an "upload" button when adding a new promotion.

It doesn't help us to have files attached to the module itself -- these would be per-promotion.
9
Thanks for the response.  Our use case is that we'd like to display a popup w/information about the promotion after coupon code entry including one or more images.  We're integrated with the Magnolia CMS and are going to use it to handle the assets since there seems to be no way to associate an image to a Promotion in KK.

Tom
10
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
11
We ended up adding custom code to our order integration manager to persist information about the completed order to another database table.  Would be nice if a future version had a way to query for orders by promotion.
12
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
13
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?