Ok, I got the issue now, Its on the cart, checkout & order where the duplicate entries appearing.
I have logic to prevent this kind of duplication when the fields are rendering but not when the fields are stored or displayed in cart & order (due to some limitation).
You can simply avoid this issue by removing some unnecessary entry in Target Product(s)
mapping.
If you have mapping entrie like
1. Product
– is equal to
– All Products
2. Product Variations
– is equal to
– All Products & All Variations
Remove the second entry, that is not neccessary here.
Just Product
– is equal to
– All Products
alone enough.
I can simply use array_unique
method to remove duplicate entries but that will introduxe some unexpected fields sorting issue (Fields sequence might be out of order).
Let me know, because I am about to release the next update, if you still facing the issue after removing unncessary mapping then I will include the array_unique
method.