reduce             // Binding for add to the cart function.
reduce unnecessary codes