• Resolved Blake Whitford

    (@blake12377)


    Hello,

    When I attempt to use the plugin, the min time it allows me to put in is “1000”. When I put in that much, it shows I have 4 hours before my cart is cleared.

    If I put anything less then “1000”, every time I add an item into my cart, it automatically takes it out of my cart and I ran out of time.

    Could you provide assistance? I’m updated to the latest version of WP and WC.

Viewing 1 replies (of 1 total)
  • Plugin Author James Golovich

    (@jamesgol)

    Have you tried using a string like ’10 minutes’. The time entered gets passed to the PHP strtotime() function (https://secure.php.net/manual/en/function.strtotime.php) which converts it into a Unix timestamp.

    I’m not sure exactly how the PHP function is trying to convert those numbers, but when I manually run a number ‘1’, ’60’, ‘999’, etc. in the function returns empty but ‘1000’ actually returns a timestamp.

Viewing 1 replies (of 1 total)
  • The topic ‘Min time set allowed is 4 hours’ is closed to new replies.