Skip to main content

Sticky Add to Cart

How it works​

Sticky Add to Cart keeps a bar with the product name, its price, and an add-to-cart button on screen while customers scroll a product page, so they can add the product to the cart at any time. You can change the button text and the colors.

Step 1: Open the feature​

From your Shopify admin, open LV - Product Badges → Store Optimizations → Sticky Add to Cart.

Step 2: Activate the widget​

This feature requires the Lavar app embed to be enabled in your Shopify theme. If it's already enabled, go to step 3.

  1. Click Activate app embed, then save your theme changes in the Shopify theme editor.
  2. Return to the app and click Verify now.
  3. Turn on the toggle beside This setting is deactivated.
  4. Click Save at the top of the page.

For detailed instructions, see How to Enable App Embed and App Blocks in Lavar.

Step 3: Customize settings​

Under Settings, use Button Text to change the button label. You can keep Add to cart if no changes are needed.

Step 4: Customize appearance​

Under Appearance → Colors, adjust the colors below or keep the default appearance.

  • Background color: The background of the sticky bar.
  • Text color: The product text in the sticky bar.
  • Button color: The color of the add-to-cart button.

Click a color swatch to choose a color, or enter a hex code. Adjust the percentage to change opacity.

Check the Preview panel to review your changes. If you change any settings, click Save at the top, then scroll down a product page on your storefront to check the bar.

Need help?​

If the sticky bar doesn't appear when you scroll down a product page, send us the product link at [email protected], and we'll check it for you.

Was this article helpful?