Common Issues and Troubleshooting
Solutions to common problems with the MUP Compliance App.
Cart Transform Issues
Levy Not Being Added
Symptoms: - Product added to cart - No levy appears - Price is below MUP floor
Solutions:
-
Verify customer has selected Scotland as region
-
Check product has
custom.total_unitsmetafield -
Ensure MUP enforcement is enabled in settings
-
Verify levy product is published to Online Store
-
Check browser console for errors
Wrong Levy Amount
Symptoms: - Levy is added but amount is incorrect - Doesn't match expected calculation
Solutions:
-
Verify
total_unitsmetafield is correct -
Check minimum unit price setting (should be 0.65)
-
Review product price
-
Calculate manually:
(units × 0.65) - price
Levy Added Twice
Symptoms: - Multiple levy line items for same product
- Duplicate charges
Solutions:
-
This should not happen - contact support
-
Clear cart and try again
-
Check for multiple cart transform runs
Validation Issues
Validation Not Added to Checkout Rules
Symptoms:
-
Validation function not blocking checkout
-
No validation errors shown
-
Function not appearing in checkout rules
Solutions:
-
Go to Shopify Admin → Settings → Checkout
-
Check Checkout rules section
-
Verify "MUP Validation" function is added at checkout rules
-
If not, add it following the setup guide
-
Ensure function is enabled
Checkout Blocked Incorrectly
Symptoms: - Checkout blocked when it shouldn't be - Error message appears incorrectly
Solutions:
-
Verify product
total_unitsmetafield -
Check minimum unit price setting
Checkout Not Blocked When It Should
Symptoms: - Order completes despite MUP violation - No validation error shown
Solutions:
-
Ensure MUP enforcement is enabled
-
Verify customer region is Scotland
-
Check validation function is active
-
Review product prices and units
Region Selector Issues
Selector Not Appearing
Symptoms: - Region selector not visible
- Can't select region
Solutions:
-
Check theme customizer settings
-
Verify app embed is enabled
-
Review CSS selector configuration f
- Check theme compatibility
Region Not Saving
Symptoms: - Select region but it doesn't save
- Cart doesn't update
Solutions:
-
Check browser console for errors
-
Verify cart update is working
-
Review cart attribute format
-
Try refreshing page
Product Data Issues
Units Not Recognized
Symptoms: - Product has metafield but not used
- Levy not calculated
Solutions:
-
Verify metafield namespace is
custom -
Check key is exactly
total_units -
Ensure value is a number (not text)
-
Verify product is saved
Health Check Shows Missing Data
Symptoms: - Health check reports missing data - But metafield exists
Solutions:
-
Re-run health check
-
Verify metafield on correct variant
-
Check metafield value format
-
Ensure product is published
Settings Issues
Settings Not Saving
Symptoms: - Click save but changes don't persist - Settings revert
Solutions:
-
Check admin permissions
-
Verify Shopify connection
-
Refresh page and try again
-
Check for error messages
Levy Product Not Working
Symptoms: - Levy product configured but not used - Error when adding to cart
Solutions:
-
Verify product is published to Online Store
-
Check variant ID is correct
-
Ensure product is not archived
-
Verify product is active
General Issues
Extensions Not Working
Symptoms: - MUP features not functioning - No errors visible
Solutions:
-
Verify MUP enforcement is enabled
-
Check customer region is set
-
Review browser console
-
Check extension deployment status
Performance Issues
Symptoms: - Slow cart updates - Delayed levy calculation
Solutions:
-
Check network connection
-
Review cart size (many items may slow)
-
Check Shopify API rate limits
-
Review extension logs
Getting More Help
If issues persist:
- Check Logs:
- Browser console for frontend errors
- App logs for backend errors
-
Shopify function logs
-
Review Settings:
- MUP settings configuration
- Metafield definitions
-
Product data
-
Test Scenarios:
- Simple test product
- Known good configuration
-
Isolated issue reproduction
-
Contact Support:
- Provide error messages
- Include relevant logs
- Describe steps to reproduce
Debug Mode
Enable debug mode to get more detailed information:
- Set
custom.mup_debugmetafield totrueon shop - Check console/logs for detailed output
- Review cart transform and validation logs
See Debug Mode for more information.