• Resolved skylerdesign

    (@skylerdesign)


    Is there a way to change the cookie expiration?

    When I visit the site, it remembers yesterday’s visit and the delivery date defaults to yesterday’s date.

    I want the field to either be cleared if the date changes, and default to the current date.

    Please advise, thanks!

    • This topic was modified 4 years, 3 months ago by skylerdesign.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Kshirod Patel

    (@kshirod-patel)

    Hello,

    It seems that you had not placed an order thats why its showing the yesterday date in the cookie. Basically it deletes the cookie when an order has been placed. But there is no issue because it would again validate the date when you will place the order.

    Kind Regards,
    Team RestroPress

    Thread Starter skylerdesign

    (@skylerdesign)

    Are there any options to delete the cookie sooner, or change the cookie expiration date to expire sooner (i.e. 1 hour)?

    The issue is that it is confusing if a user visits the site on the next day, and the default delivery date is Yesterday which causes an unecessary alert to change the date.

    Please advise, thanks!

    Plugin Author Nirmal Kumar Ram

    (@sagarseth9)

    Hello @skylerdesign,

    There isn’t an option currently.

    We will look into adding some hooks to allow this.

    Regards
    Nirmal

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cookie expiration for delivery/pickup options’ is closed to new replies.