Why can’t I choose to add a widget next to (or hide) a specific part of the page? (Dr Free Gift, BOGO Buy X Get Y Shopify App)
APP SETUP
CREATE FREE GIFTS
HOW TO'S
PROMOTE YOUR FREE GIFT
GIFT INVENTORY
GIFT FRAUD
FAQS
TROUBLESHOOTING
Why can’t I choose to add a widget next to (or hide) a specific part of the page?
Understanding Dr Free Gift, BOGO Buy X Get Y app widget placement limitations is crucial for successful implementation of gift promotions in your store. This guide explains why certain locations may not be available for widget placement and how to address these limitations.
Technical Requirements for Widget Placement
The widget installer requires specific HTML attributes to reliably identify placement locations across different page loads and user sessions. Specifically, elements must have either:
- A unique “id” attribute, or
- A distinctive “class” attribute
This requirement ensures consistent widget positioning for all customers visiting your store.
Why These Attributes Matter
Without these identifying attributes, the widget system cannot:
- Reliably locate the intended placement position
- Maintain consistent positioning across page reloads
- Ensure proper widget display for all visitors
- Handle dynamic content changes correctly
Common Scenarios and Solutions
If you encounter a location that isn’t selectable for widget placement:
- The element likely lacks the required HTML attributes
- Add the class or id to template element or contact our support team for assistance
Getting Help
If you need to place a widget in an unsupported location:
- Reach out to our support team
- Provide the specific location details
- We’ll assist with adding necessary attributes
- Validate the placement after implementation
The goal is to ensure reliable widget positioning while maintaining your store’s design integrity.