"use client"; export const getProductPathFromPath = (path: string) => { if (path.includes("hotel")) { return "hotel"; } if (path.includes("flight")) { return "flight"; } if (path.includes("tour")) { return "tour"; } if (path.includes("transfer")) { return "transfer"; } if (path.includes("rentcar")) { return "rentcar"; } return ""; };