Create Price Cart Rule Magento2

Job ID: 31282268

Budget: €8 – €30 EUR

I need two Price Cart Rule in Magento2.
1. Buy 6 get 1 Free
2. Buy 6 get 2 Free

he rules are only applied to certain articles. however, it should be possible that if several of these articles are in the shopping cart, the rules are applied to the respective articles.

currently the problem is that if there are several items in the shopping cart, the calculation is wrong, but if the items are in the shopping cart individually, then it works.
Related categories: Magento 2