It must be an infringement.
Soap boxes and toothpaste boxes are similar products with the same pattern, which constitutes the condition for similar design.
Moreover, after the revision of the new patent law, the design authorization standards have been greatly improved. Even if they are not similar products, as long as the pattern is known (such as appearing on clothes or on the Internet), it constitutes Existing designs will still not be authorized.