code4business / freeproduct2

Magento2 extension that allows creating sales rules that add gift products.
64 stars 28 forks source link

fix qty in order #11

Closed AurelienLavorel closed 2 years ago

AurelienLavorel commented 5 years ago

See https://github.com/code4business/freeproduct2/issues/7

We have correct qty in quote but not in order (invoice, shipping, e-mails)

domeglic commented 5 years ago

The qty of the gift is not always 1, it can be whatever is set in "discount amount" field in the sales rule.

AurelienLavorel commented 5 years ago

Thank you for for comment, I changed the code