How to Update Wholesale
This guide shows you how to update Wholesale to the newest version.
Before You Update
Make a Backup First!
Always save a copy of your website before updating. Ask your hosting provider if you need help.
Easy Update (Recommended)
If you bought the plugin and activated your license:
- Go to Admin → Plugins
- Find Wholesale in the list
- Click the Update button
- Wait for it to finish
- Go to Admin → Platform Administration → Cache management
- Click Clear all CMS cache
That's it! You're done.
Manual Update
If automatic update doesn't work:
- Download the latest version from CodeCanyon
- Extract the zip file
- Upload and replace files in
platform/plugins/ecommerce-wholesale/ - Run migrations:bash
php artisan migrate - Publish assets:bash
php artisan vendor:publish --tag=cms-public --force - Clear cache:bash
php artisan cache:clear php artisan config:clear php artisan view:clear
After Updating
Quick Check
Make sure everything still works:
| Check This | How to Test |
|---|---|
| Admin panel | Go to Ecommerce > Wholesale - does it load? |
| Customer groups | Can you see and edit existing groups? |
| Pricing rules | Can you access pricing rules? |
| Settings | Can you access the settings page? |
| Frontend | View product as wholesale customer - do prices show? |
Test Wholesale Flow
If you want to be extra sure:
- Log in as wholesale customer
- View product page
- Verify pricing table appears
- Add product to cart (meet MOQ)
- Verify wholesale price in cart
- Proceed to checkout
- Complete a test order
- Verify pricing in order
Test Different Scenarios
| Scenario | What to Check |
|---|---|
| Group discounts | Prices reflect correct percentage/amount |
| Tiered pricing | Quantity breaks apply correctly |
| MOQ enforcement | Invalid quantities are rejected |
| Product visibility | Wholesale-only products properly hidden/shown |
| Multiple groups | Conflict resolution works as configured |
Having Problems?
Page looks broken or old
Clear the cache:
- Go to Admin → Platform Administration → Cache management
- Click Clear all CMS cache
- Also clear your browser cache (Ctrl+Shift+Delete)
Wholesale prices not showing after update
- Clear all caches (admin + browser)
- Check customer group status is "Published"
- Check pricing rule status is "Published"
- Verify customer is assigned to group
- Test in incognito mode
- Check browser console for errors
Database errors
If you see migration errors:
# Run migrations manually
php artisan migrate
# If that fails, try:
php artisan migrate:status
# Force migrations if needed (careful!)
php artisan migrate --forceAssets not loading
If styles look wrong:
# Re-publish assets
php artisan vendor:publish --tag=cms-public --force
# Clear view cache
php artisan view:clearMOQ not working
- Clear all caches
- Verify MOQ settings saved correctly
- Check customer group assignment
- Test with different products
- Check browser console for JavaScript errors
Something not working
- Check our Troubleshooting Guide
- See if there are known issues in Release Notes
- Contact support if you need help
Need to go back to old version
If the update caused problems and you have a backup:
- Contact your hosting provider or developer
- They can restore from your backup
Version Compatibility
| Plugin Version | Minimum Botble Version |
|---|---|
| 1.0.x | 7.6.0 |
Checking Your Version
To find your current version:
- Go to Admin → Plugins
- Find Wholesale in the list
- Version number is shown next to the plugin name
Or check the file:
cat platform/plugins/ecommerce-wholesale/plugin.jsonUpdate Tips
Before Major Updates
- Full backup of database and files
- Test on staging if possible
- Read release notes for breaking changes
- Schedule downtime if needed
- Notify wholesale customers if affecting prices
After Updates
- Test thoroughly before announcing to customers
- Monitor error logs for 24 hours
- Check customer feedback for issues
- Verify pricing accuracy on key products
- Test checkout flow completely
Maintaining Customizations
If you've customized the plugin:
- Note all customizations before updating
- Compare files after update
- Reapply customizations carefully
- Consider using theme overrides instead of direct edits
Data Migration Notes
Upgrading from Beta
If upgrading from a beta or development version:
- Export customer group assignments
- Note all pricing rules
- Backup MOQ settings
- Run fresh migration
- Re-import data carefully
- Verify all assignments
Preserving Customer Groups
Customer groups and assignments are preserved during updates:
- Group settings maintained
- Customer assignments kept
- Pricing rules preserved
- MOQ settings retained
Safe Migration
The plugin uses standard Laravel migrations that are designed to preserve existing data.
Getting Help
If you're stuck, contact support with:
- Your Wholesale version number
- Your Botble CMS version
- What's not working
- Any error messages you see
- Screenshot of the problem (if possible)
Related
- Release Notes - See what changed
- Troubleshooting - Fix common problems
- FAQ - Common questions
