Jump to content

Recommended Posts


Hi, 
In presta shop API, we get products using product GET function, but the quantity is always zero!, how to get the actual quantity for items?

 

this is what we were able:
"id": 1944, "id_manufacturer": "0", "id_supplier": "0", "id_category_default": "2", "new": null, "cache_default_attribute": "0", "id_default_image": "1469", "id_default_combination": 0, "id_tax_rules_group": "53", "position_in_category": "769", "manufacturer_name": false, "quantity": "0", "type": "simple", "id_shop_default": "1", "reference": "", "supplier_reference": "", "location": "", "width": "0.000000", "height": "0.000000", "depth": "0.000000", "weight": "0.000000", "quantity_discount": "0", "ean13": "", "upc": "", "cache_is_pack": "0", "cache_has_attachments": "0", "is_virtual": "0", "on_sale": "0", "online_only": "0", "ecotax": "0.000000", "minimal_quantity": "1", "price": "0.000000", "wholesale_price": "0.000000", "unity": "", "unit_price_ratio": "0.000000", "additional_shipping_cost": "0.00", "customizable": "0", "text_fields": "0", "uploadable_files": "0", "active": "1", "redirect_type": "404", "id_product_redirected": "0", "available_for_order": "0", "available_date": "0000-00-00", "condition": "new", "show_price": "0", "indexed": "1", "visibility": "both", "advanced_stock_management": "0", "date_add": "2017-11-23 09:43:01", "date_upd": "2017-11-23 09:44:18", "pack_stock_type": "3", "meta_description": "", "meta_keywords": "", "meta_title": "", "link_rewrite": "pmod-ad1-two-12-bit-ad-inputs", "name": "Pmod AD1: Two 12-bit A/D Inputs",

 

Edited by elektrojo (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More