How to get the information of a product

  • Posts: 5
  • Thank you received: 0
14 years 1 week ago #43062

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 1 week ago by linorabolini.

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

  • Posts: 85327
  • Thank you received: 13938
  • MODERATOR
14 years 1 week ago #43207

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.053 seconds
Powered by Kunena Forum