WordPress needs a shopping cart features in order to work as an online shop. Some themes have inbuilt e-commerce modules but most of them require WP commerce plugin for this purpose, such as, woocommerce themes.