How to hide packs from the storefront and make them available only from the single unit product pages?
You can hide the packs from the storefront by excluding them from the collections that are displayed on the storefront. To do that, please go to the Products page in Admin, and selectCollections. Next, click on theCreate collectionbutton and give the collection a name, e.g.,Hidden packs.
Next, select theAutomaticcollection type and set the condition toProduct title does not contain Pack. After that, click theEditlink in theSearch engine listingsection and set theHandletoall.
Finally, click theSavebutton. The packs will be hidden from the storefront, but they will still be available from the single unit product pages.
<div class="dynamic-checkout__content" id="dynamic-checkout-cart" data-shopify="dynamic-checkout-cart"> <shopify-accelerated-checkout-cart wallet-configs="[{"name":"shop_pay","wallet_params":{"shopId":29900368,"merchantName":"The Shop Tinkerers","personalized":true}},{"name":"paypal","wallet_params":{"shopId":29900368,"countryCode":"US","merchantName":"The Shop Tinkerers","phoneRequired":false,"companyRequired":false,"shippingType":"shipping","shopifyPaymentsEnabled":true,"hasManagedSellingPlanState":null,"requiresBillingAgreement":false,"merchantId":null,"sdkUrl":"https://www.paypal.com/sdk/js?components=buttons\u0026commit=false\u0026currency=USD\u0026locale=en_US\u0026client-id=AfUEYT7nO4BwZQERn9Vym5TbHAG08ptiKa9gm8OARBYgoqiAJIjllRjeIMI4g294KAH1JdTnkzubt1fr\u0026intent=capture"}}]" access-token="501064acf5007febc8aacdcd65a58195" buyer-country="US" buyer-locale="en" buyer-currency="USD" shop-id="29900368" cart-id="9827f3229edbebcdfdfd94bca89c2ac3" enabled-flags="["ae0f5bf6"]" > <div class="wallet-button-wrapper"> <ul class='wallet-cart-grid wallet-cart-grid--skeleton' role="list" data-shopify-buttoncontainer="true"> <li data-testid='grid-cell' class='wallet-cart-button-container'><div class='wallet-cart-button wallet-cart-button__skeleton' role='button' disabled aria-hidden='true'> </div></li><li data-testid='grid-cell' class='wallet-cart-button-container'><div class='wallet-cart-button wallet-cart-button__skeleton' role='button' disabled aria-hidden='true'> </div></li> </ul> </div> </shopify-accelerated-checkout-cart> <small id="shopify-buyer-consent" class="hidden" aria-hidden="true" data-consent-type="subscription"> One or more of the items in your cart is a recurring or deferred purchase. By continuing, I agree to the <span id="shopify-subscription-policy-button">cancellation policy</span> and authorize you to charge my payment method at the prices, frequency and dates listed on this page until my order is fulfilled or I cancel, if permitted. </small> </div>
Choosing a selection results in a full page refresh.