export const stripHtml = (productId?: string) => { if (productId) { return productId.replace('.html', ''); } return productId; };