Troubleshooting
Notification Form Not Showing on Out-of-Stock Products
If the "Notify Me" form doesn't appear on a product page when the product is out of stock:
Check the plugin is enabled: Go to Back in Stock > Settings, make sure Enable Back in Stock Notifications is on.
Confirm the product is actually out of stock: The form only appears when the product's stock quantity is exactly 0. If it has any quantity remaining, no form is shown.
Clear cache: Go to Admin > Platform Administration > Cache management, click Clear all CMS cache. Also try clearing your browser cache (Ctrl+Shift+Delete).
Test in incognito mode: Open a private browser window and visit the product. This rules out browser cache issues.
Check theme compatibility: Some themes may need a template override to show the notification form. Verify your active theme supports the back-in-stock form hook.
Emails Not Being Sent When Product Is Restocked
If subscriptions remain Pending after a product's stock is updated:
Check your queue worker is running:
bashphp artisan queue:workNotifications are dispatched as queued jobs. If no worker is running, jobs accumulate in the queue but are never processed.
Check failed jobs:
bashphp artisan queue:failedIf jobs are failing, inspect the error and retry:
bashphp artisan queue:retry allCheck your mail configuration: Verify your mail driver settings in
.env(MAIL_MAILER,MAIL_HOST,MAIL_PORT, etc.) are correct. Test by sending a test email from Admin > Email > Test.Check server logs for errors:
bashtail -f storage/logs/laravel.logVerify the email template exists: Go to Admin > Email Templates and confirm the
back_in_stock_notificationtemplate is present and not empty.
Unsubscribe Link Not Working
If customers report that the unsubscribe link shows an error or doesn't cancel their subscription:
Check the token is intact: Email clients sometimes wrap long URLs and break them. Ask the customer to copy and paste the full URL into the browser.
Check the subscription still exists: The token corresponds to a specific subscription record. If the subscription was deleted from the admin panel, the unsubscribe link is no longer valid.
Check your
APP_URLin.env: The unsubscribe URL is generated usingAPP_URL. If this is set incorrectly, the link will point to the wrong domain.
Subscription Not Created After Form Submission
If a customer submits the form but no subscription appears in the admin list:
Check for validation errors: The email field is required and must be a valid email format. Phone number format is also validated if provided.
Check for duplicate subscription: If the customer already has a Pending or Notified subscription for the same product with the same email, a duplicate is not created. Search the subscriptions list for that email address.
Check server logs:
bashtail -f storage/logs/laravel.logCheck CSRF token issues: If the form submission fails silently, a CSRF token mismatch may be the cause. Clear cache and reload the product page before retrying.
Plugin Not Appearing in Admin
Check the folder name is exactly
ecommerce-back-in-stockatplatform/plugins/ecommerce-back-in-stock/Check the E-commerce plugin is installed and activated (Back in Stock depends on it)
Clear cache:
bashphp artisan cache:clear php artisan config:clearCheck Botble CMS version is 7.5.0 or higher
Database Issues
Verify the table exists
SHOW TABLES LIKE 'back_in_stock_subscriptions';Re-run migrations
php artisan migrateIf that doesn't work:
php artisan migrate:rollback --path=platform/plugins/ecommerce-back-in-stock/database/migrations
php artisan migrate --path=platform/plugins/ecommerce-back-in-stock/database/migrationsSettings Not Saving
Check file permissions:
bashchmod -R 775 storageClear config cache:
bashphp artisan config:clearCheck error logs:
bashtail -f storage/logs/laravel.log
Getting Support
Before contacting support, gather:
- Botble CMS version and Back in Stock plugin version (check at Admin > Plugins)
- PHP version
- Screenshot of the issue
- Relevant entries from
storage/logs/laravel.log - Steps to reproduce the issue
Contact:
- Support Tickets: botble.ticksy.com
- Email: [email protected]
