The sentence:
Remove products that are part of a bundle from the cart when the bundle has been added to the cart.
Why using the past perfect here "when the bundle has been added to the cart"
If the above sentence is not grammatically correct, how to correct it?
Please help and thank you in advance!!!