• Resolved Margriet

    (@margrietburorader)


    Hi,

    I will be using WooCommerce for a

    collector’s website. No products are sold on the website. One of the features will have to be that logged-in visitors can add collectibles listed on the website that they already own to their collection.

    I am thinking of making the shopping basket the collection, but then have to deal with an expiry time. Is it possible (and yes, how) to set it to infinity? And how does caching affect this?

    Thanks,
    Margriet

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @margrietburorader

    Thanks for reaching out!

    I understand that you want to set the cart session for logged-in customers on your site to infinite since you wan to use it as a collections basket, correct?

    When a visitor first adds a product to their cart a session is started that, by default, lasts for 48 hours. When it expires, the items added to the cart are forgotten, meaning the next time that visitor comes by, they’ll find their cart to be empty.

    Should you wish to change the default cart session length, you could use the code snippet on this support documentation.

    Hope this helps!

    Thread Starter Margriet

    (@margrietburorader)

    Hi,

    Many thanks – and yes, it should indeed by infinite.

    Margriet

    Roxy

    (@roxannestoltz)

    Hi Margriet,

    Thanks for clarifying, we are happy to help ??

    I trust that the support documentation @xue28 suggested, points you in the right direction, so I will go ahead and mark this as resolved then.

    Feel free to create a new topic should you need any further help.

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Disable cart expiration’ is closed to new replies.