Grow your CSS skills. Land your dream job.

WordPress – Out of hours

  • # July 4, 2013 at 8:56 pm

    Hey guys,

    I would really appreciate any advice with a problem I’ve ran into, it’s been driving me nuts trying to find a solution. I’m in the process of setting up a online store through Woocommerce, but I need to restrict the hours people are able to purchase items from the store. They should only be able to purchase anything during business hours. Does anyone know of any plugins or an easy way of achieving this?

    Regards,
    Bonzai

    # July 4, 2013 at 9:21 pm

    That’s going to be tricky. STORE business hours or CUSTOMER business hours?

    # July 4, 2013 at 9:31 pm

    Will be Store business hours. Basically i want the customer to only be able to checkout at a certain time of the day – For instance between 13:00 – 23:00

    __
    # July 4, 2013 at 9:49 pm

    >i want the customer to only be able to checkout at a certain time of the day – For instance between 13:00 – 23:00

    what timezone?

    # July 5, 2013 at 4:31 am

    BST (Europe/London)

    # July 5, 2013 at 4:34 am

    Technicalities aside….If I came across a site that WOULDN’T let me buy something from an **online store** for this reason…I would abandon the site forever and mock it to all my friends.

    That’s a terrible User Experience.

    # July 5, 2013 at 4:49 am

    For a normal store this would be silly and think this is why I’m struggling so much to find a solution.

    But this isn’t for a normal online store, it’s for a restaurant that does takeaways, so customers should only be able to order when the business is open.

    # July 5, 2013 at 5:07 am

    OK…then rather than closing down the entire process (since that seems to be a problem), I would suggest, as part of the purchasing process, you would need to capture the current time and add a warning if it’s not within a set period.

    Just an option I thought of, how easy that is…I don’t know.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".