How to Position Your Buno Widget Anywhere in Your Store
The Buno app automatically adds your offer widget to the product page, but sometimes you need more control. Whether you want to move it below the "Add to Cart" button, display it on landing pages, or integrate it with page builders, this guide covers everything you need to know.
Widget Snippet Overview
The Buno widget is powered by a simple, flexible snippet that can be placed anywhere in your store:
1<buno-offer product-id="{{ product.id }}"></buno-offer>
You can use this snippet as an app block in the theme customizer, or embed it directly into any liquid template.
Required Elements for the Widget to Work
Before positioning your widget, understand the three essential elements needed:
- Product ID - Usually populated automatically with {{ product.id }} but can be hard-coded for specific products
- Form Container - The widget must be inside a form that handles cart additions
- Submit Button - A form submit button that triggers the add-to-cart action
Here's the basic structure:
12<form action="/cart/add" method="post" enctype="multipart/form-data">3 <buno-offer product-id="{{ product.id }}"></buno-offer>4 <button type="submit" name="add">Add to Cart</button>5</form>
Repositioning on Product Pages
Method 1: Using the App Block (Recommended)
The easiest way to reposition your Buno widget:
- Go to Online Store → Themes → Customize
- Navigate to a product page
- In the product information section, click "Add block"
- Select "Buno Bundles" from the app blocks
- Drag the block to your desired position
- Keep the product selection as "Current page"
This method automatically handles all the technical requirements and gives you visual control over placement.
Method 2: Custom Liquid Block
For themes that don't support app blocks or when you need more control:
- Add a Custom Liquid block to your product section
- Insert the Buno snippet:
1<!-- Form wrapper -->2<form action="/cart/add" method="post" enctype="multipart/form-data">3 <!-- Buno widget with product ID -->4 <buno-widget product-id="{{ product.id }}"></buno-widget>5 <!-- Submit button (required) -->6 <button type="submit" name="add">Add to Cart</button>7</form>
The widget will automatically inherit the product context and form from the surrounding product page.
Adding Widget to Homepage Featured Products
To display quantity breaks on your homepage featured product section:
Option 1: App Block Method
- Navigate to your homepage in the theme customizer
- Find your featured product section
- Add the "Buno Bundle" app block
- Select the specific product you want to feature
- Position the block where it looks best
Option 2: Custom Liquid Method
Add this snippet to a custom liquid block in your featured product section:
html
1<buno-offer product-id="{{ section.settings.featured_product.id }}"></buno-offer>
Integration with Page Builders
When using page builders like PageFly, Shogun, or GemPages, follow these steps:
- Create a form element in your page builder
- Add the Buno snippet inside the form
- Include an add-to-cart button within the same form
- Set the form action to /cart/add
Finding Your Product ID
To get the Product ID for hard-coding:
- Go to your Shopify admin
- Navigate to Products → Select your product
- Look at the URL: admin.shopify.com/store/your-store/products/1234567890
- The number at the end (1234567890) is your Product ID
Custom Landing Pages
Using Featured Product Sections
The best approach for custom pages is to use a featured product section with the Buno app block, as this automatically handles all the form requirements.
Theme Integration Tips
- Match your theme's button styles for consistency
- Use your brand colors in the widget styling
- Ensure proper spacing with surrounding elements
- Test on mobile devices for responsive behavior
Troubleshooting Common Issues
Widget Not Appearing
- Ensure the snippet is inside a <form> element
- Check that there's a submit button in the same form
- Verify the product ID is correct and the product exists
Page Builder Conflicts
- Some page builders strip out custom HTML - use their HTML/code blocks
- Test in preview mode to ensure the widget renders correctly
- Contact support if you encounter page builder-specific issues
Best Practices
- Test thoroughly - Always test your widget placement on different devices
- Keep it visible - Place the widget where customers naturally look for pricing
- Maintain consistency - Use the same placement across similar product pages
- Monitor performance - Track how different placements affect conversion rates
- Update regularly - Keep your widget styling consistent with theme updates
Need Help?
If you're having trouble positioning your Buno widget or need custom implementation assistance, reach out to our support team. We're here to help you get the most out of your bundle offers!