2.4.2
Load the External Product resolver only where a product can appear.
- Its script and stylesheet were enqueued on every request, so about 11KB downloaded and a DOM scan ran on posts, pages, and the home page that never render a FluentCart button.
- The decision now runs through the shared storefront check every other module already uses, so External Product also recognises the configured cart, checkout, shop and account pages and FluentCart shortcodes.
- FluentCart blocks rendered outside post content, such as template parts and saved page blocks, still get the resolver.
Product pages, product archives and categories, the store pages, and any post embedding a FluentCart block or shortcode are unaffected.
