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

Export product in stock - only products with Deny Order and quantity > 0 or Allow orders #89

Open
j8lud opened this issue May 28, 2020 · 2 comments

Comments

@j8lud
Copy link

j8lud commented May 28, 2020

Is it possible export only the prducts with flag Deny Order and quantity > 0 or Allow orders ?
Otherwise the products with options visibility Everywhere or Catalog.

If I set in your module only in stock don't export the product with Allow orders set to true.

Regards
Paolo

@j8lud
Copy link
Author

j8lud commented May 30, 2020

Is it possible export only the prducts with flag Deny Order and quantity > 0 or Allow orders ?
Otherwise the products with options visibility Everywhere or Catalog.

If I set in your module only in stock don't export the product with Allow orders set to true.

Regards
Paolo

row 2193
// add this
$sql .= ' AND p.visibility = "both"';

And then for add reference in the title
row 2303 (2305) // Product name
$title_crop = $product['name'].' '.$product['reference'];

@d1m007
Copy link
Owner

d1m007 commented May 31, 2020

Feel free to submit your changes as a regular pull request, in order to get it available in the module for everyone, that will certainly be merged asap.

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