Theme Extension Setup
Activate the theme extension to display gifts on your storefront
What is the Theme Extension?
The CartSprinkle theme extension is a small piece of code that runs on your Shopify storefront. It automatically adds gift products to the cart when customers meet your promotion criteria.
✅ No Coding Required
The extension works automatically once enabled - you don't need to modify any theme files or write any code!
How to Enable the Theme Extension
Step 1: Access Your Theme Customizer
- Log in to your Shopify Admin
- Go to Online Store → Themes
- Find your active theme (marked with a green "Current theme" badge)
- Click the Customize button
Step 2: Find App Embeds
- In the theme customizer sidebar (left side), scroll to the very bottom
- Click on App embeds
- This section shows all app extensions available for your theme
Step 3: Enable CartSprinkle Gift Auto-Add
- Look for CartSprinkle Gift Auto-Add in the list
- Toggle the switch to ON (it should turn green/blue) ✅
- Click Save in the top right corner
🎉 That's It!
Your theme extension is now active. Any active promotions will automatically work on your storefront.
What Does the Extension Do?
Once enabled, the theme extension:
- ✅ Monitors the cart - Watches for changes to cart contents and totals
- ✅ Checks promotion rules - Compares cart against your active promotions
- ✅ Auto-adds gifts - Adds gift products when criteria are met
- ✅ Auto-removes gifts - Removes gifts if criteria are no longer met
- ✅ Displays messages - Shows promotional messages to customers
Troubleshooting
Can't Find "CartSprinkle Gift Auto-Add"?
Solution:
- Close the theme customizer completely
- Verify CartSprinkle is installed (Shopify Admin → Apps)
- Open the theme customizer again
- Hard refresh your browser (Ctrl+Shift+R or Cmd+Shift+R)
- Check App embeds again
Extension Not Working?
Checklist:
- ✅ Extension toggle is ON (not OFF)
- ✅ You clicked Save after enabling
- ✅ You're testing on the correct theme (must be active theme)
- ✅ You have at least one active promotion
- ✅ Your cart meets the promotion criteria
Changes Not Showing?
Solution:
- Clear your browser cache or test in incognito mode
- Wait 1-2 minutes for changes to propagate
- Hard refresh the storefront (Ctrl+Shift+R or Cmd+Shift+R)
Multiple Themes
If you have multiple themes (e.g., main theme + seasonal theme):
- You must enable the extension on each theme separately
- The extension only works on the active/published theme
- When you switch themes, verify the extension is enabled on the new active theme
Does It Affect Performance?
No. The theme extension is:
- ✅ Lightweight - Only a few KB of code
- ✅ Optimized - Loads asynchronously (doesn't block page load)
- ✅ Fast - Runs only when needed (cart changes)
- ✅ Safe - Doesn't modify your theme files
Need Help?
- Check the Troubleshooting Guide for detailed solutions
- Read the FAQ for common questions
- Contact Support if you're still having issues
Next Steps
Now that your theme extension is enabled: