How to get the information of a product

  • Posts: 5
  • Thank you received: 0
13 years 2 months 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: 13 years 2 months ago by linorabolini.

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

  • Posts: 83894
  • Thank you received: 13581
  • MODERATOR
13 years 2 months 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.052 seconds
Powered by Kunena Forum