• Welcome to KonaKart Community Forum. Please login or sign up.
 

Deeplink to product by SKU

Started by RustyX, April 24, 2014, 08:57:52 pm

Previous topic - Next topic

RustyX

Is it possible to deeplink to a product without knowing its sequence number in the products table, e.g. by sku?

ryan

You can get a product by SKU if that's what you're asking.

RustyX

I need to generate a link from outside Konakart into a Konakart's product page knowing only the product SKU. Thus without going thru Konakart search features.

ryan

All you need to do is to create an action class very similar to ShowProductDetailsAction.jsp where you pass it the SKU rather than the product id. The action class can use the getProductPerSku() API call to get the product.