fix(storefront): remove inquiry price everywhere and fix mobile add to cart button visibility
This commit is contained in:
1 parent
8e4ee9849c
commit
ef0731ffac
20 files changed
+6762
-6227
No files matched your search
@@ -183,6 +183,11 @@ export default function MobileBottomNav({
|
||||
}
|
||||
};
|
||||
|
||||
const isProductDetailPage = pathname.startsWith("/shop/") && pathname !== "/shop";
|
||||
if (isProductDetailPage) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const totalCartItems = isMounted ? getTotalItems() : 0;
|
||||
const isHomeActive = pathname === "/";
|
||||
const isShopActive = pathname.startsWith("/shop") || activeSheet === "shop";
|
||||
|
||||
Reference in new issue
Block a user