WordPress.org

Ready to get started?Download WordPress

Forums

eShop
Prevent session from being started until product is added to cart (6 posts)

  1. Kruncher
    Member
    Posted 2 years ago #

    Hello,

    It would be useful if session was only started when changes are made to the cart. For example, only start session when an item is added to cart.

    The reason for this is recent changes in cookie law in the EU. As far as I can tell, a cookie should only be created once a user has explicitly requested a specific action. So until a user clicks "Add to Cart" it is now unacceptable/illegal to automatically create a cookie (PHPSESSID).

    Is it possible that this change could be made to help users comply with the new EU cookie law?

    Keep up the great work!

    Lea Hayes

    http://wordpress.org/extend/plugins/eshop/

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    If you check that new regs again, you'll see that online shopping carts are specifically mentioned as being exempt.

  3. Kruncher
    Member
    Posted 2 years ago #

    Hello esmi,

    From what I have read that is only true once the user has clicked "Add to Cart":

    For example, shopping carts would be exempt, as the user has requested for a product to be added

    Apologies if I have misunderstood what I have read...

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    You could have a look at http://quirm.net/download/81/

  5. Kruncher
    Member
    Posted 2 years ago #

    Hello,

    That appears to disable cookies altogether. Perhaps the ability to postpone session creation until a product is added to the cart could be a feature request?

    Many thanks

  6. elfin
    Moderator
    Plugin Author

    Posted 2 years ago #

    that would unlikely to be added in at this time.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags