• Welcome to KonaKart Community Forum. Please login or sign up.
 
March 28, 2024, 04:27: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 - Laxman Rana

1
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?
2
Hi,
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,
Laxman
3
Hi,
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
http://PUBLICIP:PORT/web/guest/shop?p_p_id=KonaKart_Storefront_WAR_konakart&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=1&_KonaKart_Storefront_WAR_konakart_struts.portlet.action=%2FPayPalCallback.action&_KonaKart_Storefront_WAR_konakart_struts.portlet.mode=view

4) Change Return URL
http://PUBLICIP:PORT/web/guest/shop?p_p_id=KonaKart_Storefront_WAR_konakart&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=1&_KonaKart_Storefront_WAR_konakart_struts.portlet.action=%2FCheckoutFinished.action&_KonaKart_Storefront_WAR_konakart_struts.portlet.mode=view

5) Cancel URL
http://PUBLICIP:PORT/web/guest/shop?p_p_id=KonaKart_Storefront_WAR_konakart&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=1&_KonaKart_Storefront_WAR_konakart_struts.portlet.action=%2FCheckoutPaymentError.action&_KonaKart_Storefront_WAR_konakart_struts.portlet.mode=view

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.

Thanks,
Laxman Rana
www.surekhatech.com