Skip to main content

How to get the information of a product

More
14 years 6 months ago - 14 years 6 months ago #43062 by linorabolini
Is there a way to retrieve all the information related to a single product ? I checked hikashop's API but it seems that this feature is not supported.
Is there a way to create a filter and retrieve all items that share determined single value ?
Last edit: 14 years 6 months ago by linorabolini.

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #43207 by nicolas
If you want to load the information of a product, you can do like that:
$productClass = hikashop_get('class.product');
$product=$productClass->get($product_id);

If you want to load the products based on some conditions, you will have to do a MySQL query.

Please Log in or Create an account to join the conversation.

Time to create page: 0.149 seconds
Powered by Kunena Forum