Walmart has inked an agreement to acquire online menswear retailer Bonobos in a deal worth US$310m as part of a broader strategy being undertaken by the US retail giant to beef up its e-commerce footprint against Amazon.