We use the preposition 'to' with the verb add, and 'from' with the verb remove, example:
- You need to add a product to your shopping cart.
- You need to remove a product from your shopping cart.
Now if I combined add and remove, what preposition should I use for them, example:
- To add or remove a product to your shopping cart, hover the mouse over the product.
- Add/remove a product from your shopping cart before payment.
Update
There is a Persian saying that translate to :
The easiest way to solve a problem is to eliminate the definition of the problem.
I am not asking for a different way to phrase this sentence, what I am asking is if there is a rule to pick a proposition, something like:
- Use to, the preposition associated with the first verb
- User from, the preposition associated with the second verb
- User to and from