Let [Formula: see text] be a bialgebra. Let [Formula: see text] be a linear map, where [Formula: see text] is a left [Formula: see text]-module algebra, and a coalgebra with a left [Formula: see text]-weak coaction. Let [Formula: see text] be a linear map, where [Formula: see text] is a right [Formula: see text]-module algebra, and a coalgebra with a right [Formula: see text]-weak coaction. In this paper, we extend the construction of two-sided smash coproduct to two-sided crossed coproduct [Formula: see text]. Then we derive the necessary and sufficient conditions for two-sided smash product algebra [Formula: see text] and [Formula: see text] to be a bialgebra, which generalizes the Majid’s double biproduct in [Double-bosonization of braided groups and the construction of [Formula: see text], Math. Proc. Camb. Philos. Soc. 125(1) (1999) 151–192] and the Wang–Wang–Yao’s crossed coproduct in [Hopf algebra structure over crossed coproducts, Southeast Asian Bull. Math. 24(1) (2000) 105–113].