Can patents be put together?

It must be infringement.

The soap box and toothpaste box are similar products with the same pattern, which constitutes the conditions for similar design.

Moreover, after the revision of the new patent law, the authorization standard of design has been greatly improved. Even if it is not a similar product, as long as the pattern is known (such as appearing on clothes or on the Internet), it constitutes an existing design and will not be authorized.