Front-end code sample for an ecommerce page