working on the ecommerce.js file for the new template