Hi @sarge2236,
It sounds like you’re trying to optimize your website’s performance by dequeuing WooCommerce scripts on certain pages.
To disable WooCommerce scripts on specific pages, you can use a custom code or plugin like Asset CleanUp: Page Speed Booster.
If you want to use code snippet, you may follow these resources:
Additionally, make sure to disable Order Attribution feature as well. You can find it under WooCommerce > Settings > Advanced > Features.
If you still need assistance, we recommend asking customization and development questions on the #developers channel of the WooCommerce Community Slack. Many of our developers hang out there and will be able to offer insights into your question. You can also seek help from the following:
I wish I could help more, but hopefully, this gets you going in the right direction to get the job done.
Dear Shameem, thank you for the update. Please can I try these blogs and get back to you? I will reply in a day’s time.
Hi @sarge2236,
Absolutely, please feel free to take your time to try out the solutions provided in the blogs.
If you still need assistance, we recommend asking customization and development questions on the #developers channel of the WooCommerce Community Slack. Many of our developers hang out there and will be able to offer insights into your question. You can also seek help from the following:
Looking forward to hearing from you in a day’s time.
Hi Shameem, thank you for all your guidance. I have implemented a code from one of your suggested blogs and have reached out to the community developers via slack. Hoping to resolve this issue soon. Thank you once again for your assistance. You may close this thread, I will open a new one if required.
Hey, @sarge2236!
I’m glad we were able to help! If you have a few minutes, we’d love if you could leave us a review: https://wordpress.org/support/plugin/woocommerce/reviews/
Please let us know if there’s anything else we can do to help or if you have any questions.
Have a wonderful day!