• Resolved chill_rb

    (@chill_rb)


    So when the prefetch function is enabled, and you have add to cart buttons on the page. The prefetch adds the products to cart!

    Can you make a fix by adding a function that makes it possible to add exceptions for prefetching? (like the other cache plugins with prefetch also have ?? )

    Would be bad if we need to install a whole other plugin for the prefetch function that has this ability.

    Kind regards,

    Sidney Kunst

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

Viewing 1 replies (of 1 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Yes, this behaviour is only present if you have enabled the prefetch on mouse hover option. Unfortunately when someone hover on add to cart button which sends a prefetch request that item gets added to cart. Which is why this option is not recommended to enable on eCommerce sites.

Viewing 1 replies (of 1 total)
  • The topic ‘prefetch function adds products to cart in Woocommerce’ is closed to new replies.