Fixed ecommerce bug