Use global value to check for current Shop product

Also add other stores types to hint on expected values
This commit is contained in:
2022-06-22 23:20:52 +02:00
parent 255b00ab66
commit 6d4224abea
4 changed files with 21 additions and 10 deletions

View File

@@ -127,6 +127,6 @@
class:is-visible={scrolledPastIntro}
class:is-overlaid={$cartOpen}
>
<ShopLocationSwitcher currentProductSlug={product && product.location.slug} />
<ShopLocationSwitcher />
<ButtonCart />
</nav>