Folks,
I am new to konakart and found it very impressive.
Now I am facing an issue. My requirement is that after the user enters the coupon code in a field the user is supposed to get the discounted value of that product. I have tried many ways but all in vain. My idea was to use createOrder() and get the order object, set the coupon code in order object and invoke the saveOrder(). Its giving exception as "The order must contain at least one OrderTotal object". Don't know how to populate the OrderTotal object.
Please suggest me some other ways to achieve it.
Thanks
Why don't you just take a look at how we do it in ShowCartItemsAction.java.
Thanks for the quick response. Can u please tell me where i can get the ShowCartItemsAction.java file
Regards
KonaKart\custom\appn\src\com\konakart\actions
Thanks a ton.
But we are not using struts framework. we are using jsf. Please suggest some other way to achieve it.
Regards
All KonaKart functionality is available through the engine APIs. Our store-front and admin applications use the APIs. Take a look at the javadoc http://www.konakart.com/documentation/javadoc .
Thanks ;)