• Welcome to KonaKart Community Forum. Please login or sign up.
 
January 20, 2022, 10:31:15 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 - pooja

1
Thank you for the reply.

 
2
Thanks Ming for replying.

   Just wanted to know if I can write a JSP to achieve the same and if that can be integrated  in 'Custom' section in the admin portal . There are 10 custom panels whose URLs can be configured from the configuration section.
3
Hi,

    I am using a community version of Konakart 7.4 .
I want to add some custom configuration in the admin portal. I referred to the documentation section :

Adding Custom Configuration Panel
A "User Defined" panel is available to use for maintaining custom or user defined configuration parameters that are specific to your own store system.
All you need to do is to insert configuration parameters into the configurations table in your KonaKart database in configuration group 31 and they will appear automatically on the User Defined Configurations panel of the Administration Application
.

I added some rows in the 'configuration' table as:
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('title', 'key', 'true', 'description', '31', '10', 'tep_cfg_select_option(array(\'true\', \'false\'), ', now());

I restarted the server. However could not find this config in the admin portal. Can anybody please tell me if I make any more changes or where to check this config?

Also, would like to know the difference between 'tep_cfg_select_option(array(\'true\', \'false\')' and 'choice(\'true\', \'false\')'.

Thank you in advance.
4
Hi,

   I am using community 7.4 version of konakart. First of all , congratulations to the Konakart team for this release.

  I  want to add a filter in the orders section in admin portal. Basically I need to filter orders based on their delivery dates as we let customers select their delivery dates. I need to either add a column as delivery date or add a filter above it.

    Is this doable? If yes, can anybody please share some guidelines.

Thank you in advance.
5
Programming of KonaKart / Custom merchandising
May 14, 2015, 03:58:46 pm
Hi,

    I have checked 'Merchandising' in the products section . It contains product-to-product relationships.
However, I have a requirement in which I need to add products which cannot be bought independently. Something else needs to be bought along with it. e.g. If I have 'French fries' as a product, a customer should not be able to buy only french fries. He needs to buy a burger/sandwich with it.

    Can anybody guide me how this can be achieved programmatically/using existing konakart features? Also, how a custom relationship can be defined for merchandising?

  Thank you in advance.

   
6
Thanks for your reply.
But Our application doesn't use REST services or any other web service for that matter. Is there any other way to handle it?
7
Programming of KonaKart / How to handle transaction
April 27, 2015, 04:54:15 am
Hi,

     I have a requirement of bulk edit of products in the cart. So basically I need to update/remove products from cart within a single call. What I am doing is I am using the code  in 'EditCartSubmitAction' in a loop to accomplish my task.
     The issue is - if there are 3 products - two needs to be updated and last one needs to be removed and if we get an exception  after updating quantity of first two products. Now the last one will not get removed , but other 2 quantities have been already updated. This will lead to inconsistent state of the cart from customer's point of view. So this whole process needs to be in a transaction.
     Since we cannot access DAO layer, can anyone please help/guide me to handle this issue?

Thank you in advance.
8
Configuration of KonaKart / Setting shipping rate
March 25, 2015, 03:43:30 am
Hi,

I want to set a shipping rate to 'X' only if order total is less than 150. Otherwise shipping should be free. I know that I can achieve free shipping above 150 by configuring 'shipping' in 'Order Totals' module in admin portal and that works fine.
      But if order total is less than 150, it gives an error in validateOrderTotals() that no shipping module found. Where can I set 'X' amount for order total less than 150?
Requesting for a guideline.

Thanks in advance.
9
 We are live and because of this issue we are facing lot of problems.

  Any guideline would be a great help.

  Thank you.
10
 Apologies for the config missing attachment.
Actually I have implemented in a little different way.
I tried to use paypal as a  guideline later.
But got stuck at the following code:
  /*
         * Create a session here which will be used by the IPN callback
         */
        SSOTokenIf ssoToken = new SSOToken();
        String sessionId = getEng().login(sd.getPayuCallbackUsername(),
                sd.getPayuCallbackPassword());

   I cannot pass password of the logged in user as KK does not provide a way to access passwords and if I provide a certain username/password credentials to login, it will always login as that particular user which I don't want. (Please correct me if I got anything wrong here.)
   I want to retain session of logged in customer so that I can show an appropriate message.

Can anybody please guide on how can I achieve that?
Also it will be great if anyone can post a code snippet of how  a payment module is called from  JSP on the checkout page .

Thank you in advance.
11
Hi Julie,

I have contributed the module. (Reference : http://www.konakart.com/forum/index.php/topic,1997.msg7654.html#msg7654).

Requesting to test it for any issue.
Thank you for your cooperation.
12
Contributions / Payu module - Need to be checked
March 02, 2015, 05:02:53 am
Hi,

I have integrated a payment module viz. Payu. Its a Browser_payment_gateway. So I pass required information along with 'sessionId' as one of the custom parameters in the request and I get it back in the response from Payu. When a user  gets redirected from payu to my site, I want to show an order confirmation message depending on the status. That's why I am passing sessionId to maintain a user session.
    However, many times I get a failure and user gets redirected to the login page , sometimes it fails in checkSession(), sometimes in loginBySession or after that. I am not able to understand what is going wrong here.
    So I had posted a question and I was asked to share the module to test it. (Reference: http://www.konakart.com/forum/index.php/topic,1995.msg7650.html#msg7650)

Can anybody please help/guide me with this issue? I am stuck. Badly need some help.
Thank you in advance.
13
Import kkeclipse folder in eclipse and make changes. You can generate war file and run that project from eclipse itself . That will be easier.
14
Thanks for reply.
I can do that. But meanwhile can you please let me know if passing a sessionId and using that again to restore customer session is a right way to get it.
Or please suggest if there is a better way to do that.

I have used reference of Paypal which is also a Browser_payment_gateway. That retrieves uuid from response from paypal, which in turn gets SSOToken to get order id and session id.

I just use sessionId to log in a user and then I use the code below directly:
OrderIf checkoutOrder = kkAppEng.getOrderMgr().getCheckoutOrder();
                  if (checkoutOrder == null) {
                     return "Checkout";
                  }

   Does checkout order return null or it is still maintained?

Any help will be appreciated.
Thank you.
15
Hi,

I have added a new payment module which is BROWSER_PAYMENT_GATEWAY. I redirect to their site and pass 'sessionId' in the custom parameters. After processing payment, when it gets redirected to my site, it passes that sessionId in the response which I use for maintaining a user session and show him a confirmation message.
     Sometimes it works. But many times it fails without any exception and no message is shown. Instead customer sees login screen. Below is the code which I have added to the execute method in my action :
{
       String sessionId = null;
        KKAppEng kkAppEng = null;
        try {
            if (request == null){
               return KKLOGIN;
            }
            sessionId = request.getParameter(someAction.CUSTOM);
            if (sessionId == null){
                return KKLOGIN;
            }
            // Get an instance of the KonaKart engine
            kkAppEng = this.getKKAppEng(request, response);

            /*
             * Use the session of the logged in user to initialize kkAppEng
             */
            try            {
                kkAppEng.getEng().checkSession(sessionId);
            } catch (KKException e){
                return KKLOGIN;
            }
            // Log in the user
            kkAppEng.getCustomerMgr().loginBySession(sessionId);
           
         // Check that order is there and valid
                  OrderIf checkoutOrder = kkAppEng.getOrderMgr().getCheckoutOrder();
                  if (checkoutOrder == null) {
                     return "Checkout";
                  }
}

I am facing an issue from a long time. Also 'checkSession' code cannot be checked.  Once sessionId parameter was received as null which per my understanding should not happen.

I badly need help here. Can anybody please help me on this? I am not getting which step is going wrong .
Requesting for a guideline.
Thanks in advance.