• Resolved Josh

    (@joshguss)


    Hello-

    I am noticing an issue which you can also in that adding a product to the cart via the product page has a bit of a delay with a somewhat jarring experience for the user. I am currently working with this plugin on a local development site so I do not have a URL to share BUT you can see it on your demo site: . When adding a product to the cart you will notice the following:

    1. There is no real-time indication that the product is being added (like there is in the button when adding via the Shop page
    2. The page seems to re-load once the product is added with the added to cart notice added to the top of the page
    3. And it is only after that that the Fly Cart actually displays

    Ideally the process and display would work the same way on product pages as it does on the Shop page.

    Any guidance as to how to go about fixing/changing the behavior on the product page to match the shop page would be greatly appreciated.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WPClever

    (@wpclever)

    Hi @joshguss ,

    Thanks for reporting this.

    We’ll check this on our test site and live demo of this plugin.

    Best regards.

    Thread Starter Josh

    (@joshguss)

    Hello @wpclever,

    Just wanted to check in and see if there are any updates on this.

    Thanks!

    Josh

    Thread Starter Josh

    (@joshguss)

    Hello @wpclever,

    After doing some more digging, I realized that by default WooCommerce only uses Ajax to add items to the cart on shop/archive pages and not on single product pages and therefore on single product pages, the page is first reloaded before the Fly Cart is displayed (hence the delay).

    Using this tutorial I was able to implement ajax add to cart for buttons on single product pages which solved the delay issue.

    I would suggest considering this as a feature of your plugin in the future for a more seamless user experience across the store.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Delay when adding product to cart from product page’ is closed to new replies.