Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get quantity of product #27

Open
gaurav341 opened this issue Jul 24, 2015 · 1 comment
Open

How to get quantity of product #27

gaurav341 opened this issue Jul 24, 2015 · 1 comment

Comments

@gaurav341
Copy link

Unable to get quantity of product

@UJosue-zz
Copy link

UJosue-zz commented Jan 18, 2017

You should do this:

function productoList(){
  magento.catalogInventoryStockItem.list({
  products: "SKU",
}, function(error, prod) {
  if (error) {
    console.log("ERROR: " + error);
  } else {
    console.log("PRODUCTO: " + prod[0);

  }
});
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants