W3 Total Cache: Fixing JavaScript errors on pages with Stylish Cost Calculator
Follow the steps to fix JavaScript errors on frontend pages cached/optimized by W3 Total Cache and has 'Stylish Cost Calculator' forms.


If you use Stylish Cost Calculator Premium, use the following pattern in the exclusions list

If you are using Stylish Cost Calculator free version, use the following
Go to W3 Total Cache Settings

Navigate to JavaScript Cache Settings

Exclude Stylish Cost Calculator Files
If you use Stylish Cost Calculator Premium, use the following pattern in the exclusions list
/wp-content/plugins/stylish-cost-calculator-premium/dist/frontend/scc-js-frontend-bundle.js

If you are using Stylish Cost Calculator free version, use the following
/wp-content/plugins/stylish-cost-calculator/assets/js/scc-frontend.js
Updated on: 22/08/2024
Thank you!