The Sticky cart block keeps the add-to-cart action visible while customers browse and scroll on the product page.

It can display a compact sticky bar with product information, variant selection, quantity selector, and the add-to-cart button.
STEPS:
1. Understanding the Sticky Cart Block
The Sticky cart block helps customers add products to cart without scrolling back to the main buy buttons.
The sticky bar can include:
- Product image
- Product title
- Product price
- Variant selectors
- Quantity selector
- Add to cart button
- Pre-order button text when the product uses the pre-order template
- Sold out button state when the selected variant is unavailable
The exact layout may be simplified on smaller screens to keep the sticky bar compact.
2. Add the Sticky Cart Block
To add the Sticky cart block:
- From Shopify admin, go to Online Store > Themes.
- Find the Be Yours theme and click Customize.
- Open a product template, such as Default product.
- Open the Product information section.
- Click Add block.
- Select Sticky cart.
- Move the block to the desired position if needed.
- Click Save.

Important:
- The Sticky cart block has a limit of one per Product information section.
- If the Sticky cart block is not added, the sticky cart bar will not appear.
3. Sticky Cart Block Settings
The Sticky cart block includes these settings:
| Setting | Description |
|---|---|
| Show quantity selector | Displays a quantity selector in the sticky cart bar. |
| Show while buy buttons are off-screen | Shows the sticky cart whenever the main buy buttons are not visible on screen. |
The second setting is available in Be Yours 9.5.0 or later.
4. Show Quantity Selector
The Show quantity selector setting lets customers adjust quantity directly from the sticky cart bar.

To configure it:
- Open the product template in the Theme Editor.
- Open the Product information section.
- Select the Sticky cart block.
- Enable or disable Show quantity selector.
- Click Save.
Behavior:
| Setting status | Result |
|---|---|
| Enabled | Customers can adjust quantity from the sticky cart bar. |
| Disabled | The sticky cart uses the default quantity behavior. |
Important:
- The quantity selector may be hidden on smaller screens to keep the sticky bar compact.
- The quantity selector follows the product variant quantity rules when applicable.
5. Sticky Cart Follow in Be Yours 9.5.0
Be Yours 9.5.0 adds Sticky Cart Follow through the setting:
Show while buy buttons are off-screen
This setting is disabled by default.
When enabled, the sticky cart bar appears whenever the main buy buttons are not visible on screen.
Behavior:
| Setting status | Result |
|---|---|
| Disabled | The sticky cart follows the standard behavior and appears after customers scroll past the buy buttons. |
| Enabled | The sticky cart appears whenever the buy buttons are off-screen, including from page load when the buy buttons are not visible yet. |

This is useful for product pages where the buy buttons are lower on the page, such as pages with large media galleries or content above the product form.
6. Enable Show While Buy Buttons Are Off-Screen
To enable the new 9.5.0 behavior:
- Open the product template in the Theme Editor.
- Open the Product information section.
- Select the Sticky cart block.
- Enable Show while buy buttons are off-screen.
- Click Save.
How it works:
| Page state | Sticky cart behavior |
|---|---|
| Buy buttons are visible on page load | Sticky cart stays hidden. |
| Buy buttons are not visible on page load | Sticky cart appears immediately. |
| Customer scrolls to the buy buttons | Sticky cart hides. |
| Customer scrolls away from the buy buttons | Sticky cart appears again. |
If you do not see this setting, update the theme to Be Yours 9.5.0 or later.
7. How It Works with Product Variants
The Sticky cart block follows the selected product variant.
For products with variants, the sticky cart can show variant selectors so customers can change the selected option from the sticky bar.

Behavior:
| Product state | Sticky cart behavior |
|---|---|
| Product has only one default variant | No extra variant selector is needed. |
| Product has multiple variants | Variant selectors can appear in the sticky cart bar. |
| Selected variant is available | The add-to-cart button is active. |
| Selected variant is sold out | The button shows the sold-out state. |
| Product uses the pre-order template | The button can show pre-order text. |
Important:
- Some variant controls may be simplified or hidden on smaller screens.
- The sticky cart uses the same product selection as the product page form.
8. When to Use Sticky Cart Follow
Enable Show while buy buttons are off-screen when:
- The product page has a large product media gallery.
- The buy buttons are lower on the page.
- You want customers to access add-to-cart sooner.
- The product page has long descriptions, accordions, reviews, or extra content.
- You want the sticky cart to appear from page load when the buy buttons are not visible.
Keep it disabled when:
- You prefer the sticky cart to appear only after customers scroll past the main buy buttons.
- The product page is short.
- The buy buttons are already visible when the page opens.
- You want a more minimal product page experience.
9. Notes and Limitations
Please note the following behavior:
- The Sticky cart block is controlled from the product template.
- The block is added inside the Product information section.
- The block has a limit of one per Product information section.
- Show quantity selector controls whether the quantity selector appears in the sticky cart bar.
- Show while buy buttons are off-screen is available in Be Yours 9.5.0 or later.
- Show while buy buttons are off-screen is disabled by default.
- If you are using an older version and do not see this setting, update the theme to Be Yours 9.5.0 or later.
- When the 9.5.0 setting is enabled, the sticky cart appears whenever the main buy buttons are off-screen.
- When the main buy buttons are visible, the sticky cart hides.
- The sticky cart follows the selected product variant and product availability.
- The sticky cart does not create a separate product form setup for customers to manage.
- The exact sticky cart layout can vary by screen size and device.
Troubleshooting
If the Sticky cart block does not display or work as expected, please check the following:
- Make sure the Sticky cart block has been added to the product template.
- Make sure the block is added inside the Product information section.
- If you do not see Show while buy buttons are off-screen, update the theme to Be Yours 9.5.0 or later.
- If the sticky cart does not appear on page load, check whether the main buy buttons are already visible.
- If the sticky cart hides while scrolling, check whether the main buy buttons are currently visible.
- If the quantity selector does not appear, check Show quantity selector.
- If the add-to-cart button is disabled, check the selected variant availability.
- If the button shows sold out, check product inventory and variant availability.
- If the button shows pre-order text, check whether the product is using a pre-order template.
- Test on different screen sizes because sticky cart visibility and layout can vary by device.
- Clear your browser cache and refresh the storefront.
- Make sure you are using the latest version of the Be Yours theme.
Need Further Assistance
If you encounter any issues or need additional help with your Be Yours theme, please reach out to our support team via our Ticket System for assistance within 8 hours.

शेयर करना:
New Default Theme Look in Be Yours 9.4.0