• Resolved Ricardo Franco

    (@chefpanda123)


    I noticed Stripe loads CSS resources on unnecessary pages, such as category pages

    Is it possible to only load stripe on the following pages:

    • cart
    • checkout
    • my account
    • order received page / thank you page

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Saif

    (@babylon1999)

    Hello @chefpanda123,

    Thank you for reaching out!

    I couldn’t locate these files on my test site category pages nor was I able to find any recent reports about this issue.


    Link to image: https://d.pr/i/jTqBnT

    Could you please attach a copy of your site’s System Status report? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support” (after you scroll down a bit)”. Once done, please paste it here in your reply or via a text-sharing service like https://gist.github.com/.

    Look forward to hearing back from you.

    Thread Starter Ricardo Franco

    (@chefpanda123)

    There you go: https://quickforget.com/s/09eceb972812e90b08039dc15093b0fb045aabfc9b163aa9

    Saif

    (@babylon1999)

    It’s already deleted, @chefpanda123! :‎)


    Link to image: https://d.pr/i/flNn3D

    Could please re-attach it in https://gist.github.com/?

    Look forward to hearing back from you.

    Thread Starter Ricardo Franco

    (@chefpanda123)

    https://quickforget.com/s/38bf8babe205084372dfa37b94ac7d3649fdede339d70028

    Saif

    (@babylon1999)

    Hello @chefpanda123,

    I managed to have these file load with Gtmetrix, they’re from WooCommerce blocks. This issue was actually fixed already here in the latest version of WooCommerce blocks(10.8.3), the problem is WooCommerce core is still a few releases behind. Could you please install the dedicated WooCommerce Blocks plugin?

    This should serve as a temporary solution until version 10.8.3 is merged into WooCommerce core. :‎)

    Let us know how it goes!

    Thread Starter Ricardo Franco

    (@chefpanda123)

    Hi @babylon1999 ,

    the thing is we don´t use WooCommerce blocks on 99% of pages (just on the blog page). In fact, we´d like to avoid loading WooCommerce Blocks css as well!

    Saif

    (@babylon1999)

    the thing is we don´t use WooCommerce blocks on 99% of pages (just on the blog page). In fact, we´d like to avoid loading WooCommerce Blocks css as well!

    WooCommerce Blocks is already included in WooCommerce core, and it doesn’t load unnecessary CSS by default. This was a recorded bug that the team addressed quickly with an update. However, as noted earlier, the main WooCommerce plugin doesn’t package the most recent version of WooCommerce Blocks. It’s usually 2-3 versions behind to maintain stability.

    In case it’s not clear, you don’t need to keep the WooCommerce Blocks plugin forever if you don’t want to; this is just a temporary solution until version 10.8.3 is merged into WooCommerce.

    Cheers!

    Thread Starter Ricardo Franco

    (@chefpanda123)

    Do you know which WooCommerce version will include this issue?

    Saif

    (@babylon1999)

    Do you know which WooCommerce version will include this issue?

    Hopefully 8.1 but we don’t have an exact timeline. :‎)

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Loading resources on unnecessary pages’ is closed to new replies.