Assets are not enqueued
-
Hello,
I’m having some weird issue on a site I manage. The problem appears to be that WooCommerce assets are not enqueued at all. I know this because I am looking at all the enqueued assets on the front end and WooCommerce is missing. Here is what I have tried to do so far:
1. Disable every plugin and theme. Then enabled WooCommerce and storefront. The assets were still missing from all pages i.e. shop catalog, checkout, single product, my account, etc., checking using an assets manager plugin (query-monitor) to verify this. I completely removed the WooCommerce plugin and reinstalled it from scratch too.
2. I installed another site on the server and added it using the same Apache config with different hostname of course. This was to rule out the possibility of a PHP or server cause. No problems noticed there.
I wonder if somehow a database option was triggered causing this. I wouldn’t know though where to check for this.
I just started to notice this issue within the week. Most noticeable remark was the my account page styles being completely off. I added some css to fix this though so it looks ok now but did not solve the underlying problem.
Right now my last resort is to manually enqueue the 5 style sheets and 3 scripts I’m finding should be there from WooCommerce. I think that’s it, right? How would I do this from my child theme? I really don’t want to reset this site from scratch or reset WooCommerce. Are there any options perhaps for debugging this more?
The page I need help with: [log in to see the link]
- The topic ‘Assets are not enqueued’ is closed to new replies.