E-commerce optimization in the modern retail era