• Welcome to KonaKart Community Forum. Please login or sign up.
August 17, 2022, 01:36:57 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 - Laxman Rana

Hi All,

I want to put Book as a product in KonaKart store for online store. For the books I have a field called "Genre" .

For example genre can be adventure, comedy, action etc. A book might be comedy and adventure. I want to have search facet where user can select a desired genre and based on that search results are updated.

Do you have any idea on how can I achieve this. I followed the documentation here http://www.konakart.com/docs/ch12s04.html. However what happens is that If I have multiple genre values "both combined" are displayed as a genre.  Please see that attached image. Can someone suggest me on how to implement this?
We are Liferay development and customization service provider. We are currently working on Liferay-Konakart implementation.
You can reach out to Gaurav Shah( gshah@surekhatech.com )for your developer requirements.

Thank you,
You need to do couple of things for paypal integration.

1) Open "CheckoutConfirmationSubmitAction" java file and make below changes.

public String execute() {
String hostAndPort = "";
            if (!kkAppEng.isPortlet())
                // Throws exception if called when running as a portlet
                hostAndPort = request.getServerName() + ":" + request.getServerPort();
            }else{ /*************this is the new code that need to be added ************/

            PortletRequest portletRequest = (PortletRequest) request.getAttribute("javax.portlet.request");

            log.debug("CheckoutConfirmationSubmitAction.execute() -- portletRequest : "+portletRequest);
            log.debug("CheckoutConfirmationSubmitAction.execute() -- ServerName : "+portletRequest.getServerName());
            log.debug("CheckoutConfirmationSubmitAction.execute() -- ServerHost : "+portletRequest.getServerPort());

            hostAndPort = portletRequest.getServerName() + ":" + portletRequest.getServerPort();

2) You need to alter/increase "configuration_value' column size. By default it is 256.

ALTER TABLE `konakart`.`configuration` CHANGE COLUMN `configuration_value` `configuration_value` VARCHAR(1000) NOT NULL ;

3) Change Callback URL

4) Change Return URL

5) Cancel URL

Note :
You need to enter your public ip and port which paypal can refer. Also, "shop" is a page where store front is added. You can change accordingly.

Hope this helps

Let me know if you need any other help.

Laxman Rana