With the collecting and publishing data about consumers purchasing and browsing products at the platform of online, this data prodives new ways to better understand the consumers search behavior before purchase. How to base on consumers online search behavior and simutaneously consider offline experience costs is worth studying. An optimal method based on the utility of the attribute of product is proposed. The proposed method follows steps below. Firstly, based on the multi-attribute utility theory, the overall utility of product is calculated by using ratings data. Secondly, the overall utility is combined into the original sequential search model to find the optimal selection strategy. Thirdly, the candidate product sets arranged in descending order of the reservation utilities are finally obtained. Finally, taking the online ratings data provided by a comprehensive automobile website as an example, lastly the proposed method is simulated and compared with other method. The result shows that the proposed method is feasible and effective.