This is standard on most ecommerce platforms. Customers should have an option to add a product to cart without having to go into the product page