• Resolved Jim Bevan

    (@jimbevan)


    Did a lot of searches, “caching is probably the culprit” is the most common answer, so here I am.
    Problem: I click on Add to Cart, the button disappears, nothing gets added to the cart.
    Workaround: Edit Page>Update (in the three pages that have downloads) a couple of times a day.
    Got any WP-Optimize settings suggestions?
    Thanks!
    Jim

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Jim,

    I click on Add to Cart, the button disappears, nothing gets added to the cart.

    The issue here is that the “add to cart” functionality checks a “nonce”, which is a string that expires after (generally) 12 to 24 hours.

    I would suggest the following 2 things:
    – reducing the cache lifespan to a few hours (this will prevent you from doing the daily Edit Page>Update).
    – adding edd_items_in_cart in the “Cache > Advanced settings > Cookies which, if present, will prevent caching”. That way, users with items in their cart will not be served cached pages.

    Best,
    Marc.

    Thread Starter Jim Bevan

    (@jimbevan)

    Seems to be working now, thanks Marc!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘EDD downloads not getting added to the cart’ is closed to new replies.