Skip to main content

Uninstall

Learn how to properly uninstall XB Products Compare from your Shopify store.

Before Uninstalling​

Backup Your Data​

Before uninstalling the app, consider backing up any important data:

  1. Export Comparison Analytics: If you want to keep comparison data
  2. Save Custom Configurations: Note any custom settings you've configured
  3. Document Custom Code: Save any custom CSS or JavaScript you've added

Consider Alternatives​

  • Temporarily Disable: You can disable the app without uninstalling
  • Contact Support: If you're having issues, contact support first
  • Downgrade Plan: Consider changing to a different plan instead

Uninstall Steps​

Step 1: Remove App from Shopify Admin​

  1. Go to your Shopify admin dashboard
  2. Navigate to Apps → Manage private apps
  3. Find XB Products Compare in the list
  4. Click Delete app
  5. Confirm the deletion when prompted

Step 2: Remove App Embeds​

  1. Go to Online Store → Themes → Customize
  2. Click App embeds
  3. Disable XB Products Compare scripts
  4. Disable XB Products Compare styles
  5. Save your changes

Step 3: Remove Custom Code (Optional)​

If you've added custom code to your theme, you may want to remove it:

Remove Compare Buttons from Product Cards​

{% comment %} Remove or comment out compare button code {% endcomment %}
{% comment %}
<div class="product-compare-wrapper">
<button class="xb-compare-button" data-product-id="{{ product.id }}">
Compare
</button>
</div>
{% endcomment %}

Remove Custom CSS​

{% comment %} Remove custom comparison styles {% endcomment %}
{% comment %}
.xb-compare-table { ... }
.xb-compare-button { ... }
.xb-compare-* { ... }
{% endcomment %}

Remove Custom JavaScript​

{% comment %} Remove custom comparison JavaScript {% endcomment %}
{% comment %}
// XB Products Compare custom code
document.addEventListener('DOMContentLoaded', function() {
// Comparison functionality
});
{% endcomment %}

Post-Uninstall Cleanup​

Clear Browser Cache​

After uninstalling, clear your browser cache to ensure all app-related scripts are removed:

  1. Chrome: Ctrl+Shift+Delete (Windows) or Cmd+Shift+Delete (Mac)
  2. Firefox: Ctrl+Shift+Delete (Windows) or Cmd+Shift+Delete (Mac)
  3. Safari: Cmd+Option+E

Test Your Store​

After uninstalling, test your store to ensure everything works correctly:

  • Product pages load properly
  • Collection pages function normally
  • No broken compare buttons
  • No JavaScript errors in console
  • Store performance is normal

Remove Local Storage Data (Optional)​

If you want to completely remove all comparison data:

// Run this in browser console to clear comparison data
localStorage.removeItem('xb-compare-products');
localStorage.removeItem('xb-compare-history');
localStorage.removeItem('xb-compare-settings');

Data Retention​

What Happens to Your Data​

  • Comparison Analytics: Will be permanently deleted
  • Custom Settings: Will be lost
  • Customer Data: No customer data is stored by the app
  • Product Data: Your product data remains unchanged

Data Export (Before Uninstall)​

If you need to export any data before uninstalling:

  1. Analytics Data: Contact support to request data export
  2. Configuration Settings: Take screenshots of your settings
  3. Custom Code: Copy any custom CSS/JavaScript you've added

Troubleshooting Uninstall Issues​

Common Issues​

App Still Appears in Theme​

If the app still appears in your theme customization:

  1. Clear Theme Cache: Go to Themes → Actions → Clear cache
  2. Check App Embeds: Ensure app embeds are disabled
  3. Contact Support: If issues persist, contact support

JavaScript Errors​

If you see JavaScript errors after uninstalling:

  1. Check for Custom Code: Remove any custom comparison code
  2. Clear Browser Cache: Clear your browser cache completely
  3. Check Theme Files: Ensure no comparison code remains in theme files

Broken Functionality​

If your store has broken functionality:

  1. Check Console Errors: Look for JavaScript errors in browser console
  2. Validate Theme: Use Shopify's theme validation tools
  3. Restore Backup: Restore from a backup before app installation

Getting Help​

If you encounter issues during uninstallation:

  1. Check Documentation: Review this guide thoroughly
  2. Contact Support: Email [email protected]
  3. Include Details: Provide specific error messages and steps taken

Reinstalling the App​

If You Change Your Mind​

If you decide to reinstall XB Products Compare:

  1. Install from App Store: Go to the Shopify App Store
  2. Reconfigure Settings: Set up your comparison settings again
  3. Add Custom Code: Re-add any custom code you had before
  4. Test Functionality: Ensure everything works as expected

Migration from Backup​

If you have a backup of your configuration:

  1. Install the App: Install XB Products Compare again
  2. Restore Settings: Manually reconfigure your settings
  3. Add Custom Code: Re-add your custom CSS/JavaScript
  4. Test Thoroughly: Test all functionality

Alternative Solutions​

If You Need Similar Functionality​

If you need product comparison features after uninstalling:

  1. Other Apps: Search for alternative comparison apps
  2. Custom Development: Hire a developer to build custom functionality
  3. Theme Features: Check if your theme has built-in comparison features

Migration to Other Apps​

If migrating to another comparison app:

  1. Export Data: Export any comparison data you need
  2. Document Settings: Note your current configuration
  3. Test New App: Thoroughly test the new app before committing
  4. Update Custom Code: Adapt any custom code for the new app

Support and Contact​

Need Help?​

If you need assistance with uninstalling or have questions:

  • Email: [email protected]
  • Response Time: Usually within 24 hours
  • Include: Your store URL and specific issue description

Feedback​

We value your feedback about the app experience:

  • App Store Reviews: Leave a review on the Shopify App Store
  • Feature Requests: Suggest improvements via email
  • Bug Reports: Report any issues you encountered
Important Note

Once you uninstall the app, all comparison data and settings will be permanently deleted. Make sure to export any important data before proceeding.