mijora / omniva-woocommerce

11 stars 8 forks source link

Assets are loaded on Woo pages #270

Open danielsmwp opened 4 months ago

danielsmwp commented 4 months ago

Hey Omniva team,

Following assets are loaded on product category and product single pages:

For optimization purposes, they could be omitted from loading if they are not used on the page. There are no need to load these assets as they are suppose to execute logic related to checkout/cart pages.

This is related to Omniva Gutenberg Block integration, I am not using Gutenberg editor on the site where the issue is happening.

Would be good if we could have a switchable constant or filter to disable this part of functionality.