KonaKart Community Forum

Installation / Configuration => Liferay, Magnolia, Hippo, dotCMS, OpenCms Integration => Topic started by: Asset on August 24, 2011, 03:31:03 pm

Title: How to Bind Image to Konakart Product
Post by: Asset on August 24, 2011, 03:31:03 pm
dears ,
 

I have seen the demo of DotCMS integrating with Konakart . I have Noticed the Banner and Ads were related  to a certain product so that I can view product details or Add it to shopping cart . I need to know what is the best practice or the implementation technique used to bind the image with a certain product in konakart catalog.


Best Regards,
Title: Re: How to Bind Image to Konakart Product
Post by: trevor on August 24, 2011, 04:08:43 pm
To view product details you can call the following struts action, passing it the product id:

SelectProd.do?prodId=17

To add to cart you can use:

AddToCartFromProdId.do?prodId=4


There are plenty examples in the JSPs of the store front application available in the download kits.

Title: Re: How to Bind Image to Konakart Product
Post by: Asset on August 25, 2011, 09:11:42 am
Actually i didn't mean that , I want to know from the Content Management System , how  I configure a content " Ads , Banner" to be binded to a certain product in konakart  so as each image will redirect to  its binded product .

any help !
Title: Re: How to Bind Image to Konakart Product
Post by: trevor on August 25, 2011, 06:39:26 pm
The content stored in the CMS has to contain some metadata that binds it to the KonaKart product. This could be the product id or SKU.